明树Git Lab

Commit 2ceedc38 authored by zfp1's avatar zfp1

1

parent 9c728611
Pipeline #106715 passed with stage
in 3 seconds
......@@ -63,9 +63,9 @@ const ThYjgl = sequelize.define('ThYjgl', {
// 同步模型到数据库(创建表)
ThYjgl.sync({
force: false,
// force: false,
// force: true ,//会删除已存在表并重新创建
// alter: true
alter: true
})
.then(() => {
console.log('ThYjgl 表同步成功');
......
......@@ -73,9 +73,9 @@ const ThYyqtzjc = sequelize.define('ThYyqtzjc', {
// 同步模型到数据库(创建表)
ThYyqtzjc.sync({
force: false,
// force: false,
// force: true ,//会删除已存在表并重新创建
// alter: true
alter: true
})
.then(() => {
console.log('ThYyqtzjc 表同步成功');
......
......@@ -95,9 +95,9 @@ const TzTzkzGq = sequelize.define('TzTzkzGq', {
// 同步模型到数据库(创建表)
TzTzkzGq.sync({
force: false,
// force: false,
// force: true ,//会删除已存在表并重新创建
// alter: true
alter: true
})
.then(() => {
console.log('TzTzkzGq 表同步成功');
......
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