明树Git Lab

Commit 3959ab38 authored by zfp1's avatar zfp1

update

parent 56ab2b08
Pipeline #111160 passed with stage
in 3 seconds
...@@ -590,7 +590,7 @@ const Project = sequelize.define('Project', { ...@@ -590,7 +590,7 @@ const Project = sequelize.define('Project', {
Project.sync({ Project.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
alter: true // alter: true
}) })
.then(() => { .then(() => {
console.log('Project 表同步成功'); console.log('Project 表同步成功');
......
...@@ -109,7 +109,7 @@ const projectBjtj = sequelize.define('projectBjtj', { ...@@ -109,7 +109,7 @@ const projectBjtj = sequelize.define('projectBjtj', {
projectBjtj.sync({ projectBjtj.sync({
// force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
// alter: true alter: true
}) })
.then(() => { .then(() => {
console.log('projectBjtj 表同步成功'); console.log('projectBjtj 表同步成功');
......
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