refactor: migration models data types
This commit is contained in:
parent
635843dc47
commit
8df93668ec
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
allowNull: false,
|
||||
},
|
||||
REPORTS: {
|
||||
type: Sequelize.STRING(1024),
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: false,
|
||||
},
|
||||
TIME_REPORT: {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
allowNull: false,
|
||||
},
|
||||
DESCRIPTION_SECTION: {
|
||||
type: Sequelize.STRING(1024),
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: true,
|
||||
},
|
||||
THUMBNAIL: {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ module.exports = {
|
|||
allowNull: false,
|
||||
},
|
||||
DESCRIPTION_TOPIC: {
|
||||
type: Sequelize.STRING(1024),
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: true,
|
||||
},
|
||||
IS_DELETED: {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ module.exports = {
|
|||
defaultValue: null,
|
||||
},
|
||||
FEEDBACK_STUDENT: {
|
||||
type: Sequelize.STRING(1024),
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ module.exports = {
|
|||
allowNull: false,
|
||||
},
|
||||
ANSWER_STUDENT: {
|
||||
type: Sequelize.STRING(1024),
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: false,
|
||||
},
|
||||
IS_CORRECT: {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ module.exports = {
|
|||
allowNull: true,
|
||||
},
|
||||
FEEDBACK_GURU: {
|
||||
type: Sequelize.STRING(1024),
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: true,
|
||||
},
|
||||
TIME_MONITORING: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user