明树Git Lab

Commit 176964d3 authored by zfp1's avatar zfp1

update

parent 85cb5853
Pipeline #111998 passed with stage
in 3 seconds
...@@ -54,7 +54,7 @@ const ProjectTzzt = sequelize.define('ProjectTzzt', { ...@@ -54,7 +54,7 @@ const ProjectTzzt = sequelize.define('ProjectTzzt', {
ProjectTzzt.sync({ ProjectTzzt.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
alter: true // alter: true
}) })
.then(() => { .then(() => {
console.log('ProjectTzzt 表同步成功'); console.log('ProjectTzzt 表同步成功');
......
...@@ -254,7 +254,7 @@ const RcTzjh = sequelize.define('RcTzjh', { ...@@ -254,7 +254,7 @@ const RcTzjh = sequelize.define('RcTzjh', {
RcTzjh.sync({ RcTzjh.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
// alter: true alter: true
}) })
.then(() => { .then(() => {
console.log('RcTzjh 表同步成功'); console.log('RcTzjh 表同步成功');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment