明树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 表同步成功');
......
...@@ -50,7 +50,7 @@ const RcTzjh = sequelize.define('RcTzjh', { ...@@ -50,7 +50,7 @@ const RcTzjh = sequelize.define('RcTzjh', {
tzmdejfl: { type: DataTypes.STRING(10), allowNull: true, comment: "投资目的二级分类", zjType: 'danxuan', _mark: "lixiang" }, tzmdejfl: { type: DataTypes.STRING(10), allowNull: true, comment: "投资目的二级分类", zjType: 'danxuan', _mark: "lixiang" },
tzznyjfl: { type: DataTypes.STRING(10), allowNull: true, comment: "投资指南一级分类", zjType: 'danxuan', _mark: "lixiang" }, tzznyjfl: { type: DataTypes.STRING(10), allowNull: true, comment: "投资指南一级分类", zjType: 'danxuan', _mark: "lixiang" },
tzznejfl: { type: DataTypes.STRING(10), allowNull: true, comment: "投资指南二级分类", zjType: 'danxuan', _mark: "lixiang" }, tzznejfl: { type: DataTypes.STRING(10), allowNull: true, comment: "投资指南二级分类", zjType: 'danxuan', _mark: "lixiang" },
//找不到的, 新字段 //找不到的, 新字段
ssejqy: { type: DataTypes.STRING, allowNull: true, comment: "所属二级企业" }, ssejqy: { type: DataTypes.STRING, allowNull: true, comment: "所属二级企业" },
tbr: { type: DataTypes.STRING, comment: "填报人" }, tbr: { type: DataTypes.STRING, comment: "填报人" },
...@@ -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