明树Git Lab

Commit 1a932ab6 authored by zfp1's avatar zfp1

1

parent 525b8350
Pipeline #108116 passed with stage
in 4 seconds
This diff is collapsed.
...@@ -92,7 +92,7 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', { ...@@ -92,7 +92,7 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', {
ProjectGdxx.sync({ ProjectGdxx.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
alter: true // alter: true
}) })
.then(() => { .then(() => {
console.log('ProjectGdxx 表同步成功'); console.log('ProjectGdxx 表同步成功');
......
...@@ -33,7 +33,7 @@ const ProjectLixiang = sequelize.define('ProjectLixiang', { ...@@ -33,7 +33,7 @@ const ProjectLixiang = sequelize.define('ProjectLixiang', {
ProjectLixiang.sync({ ProjectLixiang.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
alter: true // alter: true
}) })
.then(() => { .then(() => {
console.log('ProjectLixiang 表同步成功'); console.log('ProjectLixiang 表同步成功');
......
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