Commit 7c90312f by chenjinjing

no message

parent 8dfacc57
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<mysqlPort>3306</mysqlPort> <mysqlPort>3306</mysqlPort>
<mysqlUser>root</mysqlUser> <mysqlUser>root</mysqlUser>
<mysqlPwd>123456</mysqlPwd> <mysqlPwd>123456</mysqlPwd>
<dataBase>yfs</dataBase>. <dataBase>yfs</dataBase>
<!-- 服务器mysql配置 --> <!-- 服务器mysql配置 -->
<!-- <mysqlHost>127.0.0.1</mysqlHost> <!-- <mysqlHost>127.0.0.1</mysqlHost>
<mysqlPort>3306</mysqlPort> <mysqlPort>3306</mysqlPort>
......
...@@ -239,8 +239,8 @@ export const TablesConfig = [ ...@@ -239,8 +239,8 @@ export const TablesConfig = [
pmId: {type:Sequelize.STRING(100), allowNull:false}, //党员id 外键 pmId: {type:Sequelize.STRING(100), allowNull:false}, //党员id 外键
mlId: {type:Sequelize.INTEGER, allowNull:false}, //党员学习id 外键 mlId: {type:Sequelize.INTEGER, allowNull:false}, //党员学习id 外键
rateOfLearning: {type:Sequelize.INTEGER, allowNull:false, defaultValue:0}, //学习进度 rateOfLearning: {type:Sequelize.INTEGER, allowNull:false, defaultValue:0}, //学习进度
learningCompleted: {type:Sequelize.INTEGER, allowNull:false, defaultValue:1},//是否已完成 1:正在进行、2:阅读完成 learningCompleted: {type:Sequelize.INTEGER, allowNull:false, defaultValue:1}, //是否已完成 1:正在进行、2:阅读完成
textSchedule:{type:Sequelize.STRING(500), defaultValue:'[]'},//文字学习进度 已读文件的json格式 textSchedule:{type:Sequelize.STRING(500), allowNull:true, defaultValue:'[]'},//文字学习进度 已读文件的json格式
}, },
association: [] association: []
}, },
......
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