Commit 3ea8aca8 by chenjinjing

no message

parent 3dfd0b68
...@@ -85,7 +85,6 @@ export const TablesConfig = [ ...@@ -85,7 +85,6 @@ export const TablesConfig = [
unique:true //表示该列的值必须唯一 unique:true //表示该列的值必须唯一
}, },
systemTitle: {type:Sequelize.STRING(100), allowNull:false}, //制度标题 systemTitle: {type:Sequelize.STRING(100), allowNull:false}, //制度标题
periodOfValidity: {type:Sequelize.INTEGER, allowNull:false}, //制度有效范围
bId: {type:Sequelize.STRING(100), allowNull:false, defaultValue:'[]'}, //支部表id 外键 [1,2] --多选 bId: {type:Sequelize.STRING(100), allowNull:false, defaultValue:'[]'}, //支部表id 外键 [1,2] --多选
releaseTime: {type:Sequelize.DATE, allowNull:false}, //发布时间 releaseTime: {type:Sequelize.DATE, allowNull:false}, //发布时间
isUse: {type:Sequelize.BOOLEAN, allowNull:false, defaultValue:true}, //是否使用 isUse: {type:Sequelize.BOOLEAN, allowNull:false, defaultValue:true}, //是否使用
...@@ -121,7 +120,7 @@ export const TablesConfig = [ ...@@ -121,7 +120,7 @@ export const TablesConfig = [
] ]
}, },
{ {
tableNameCn:'专题活动表', tableNameCn:'专题活动表', //党建资讯
tableName:'thematicActivities', tableName:'thematicActivities',
schema:{ schema:{
taId: { //自增的专题活动id taId: { //自增的专题活动id
......
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