Started migration to material-ui

This commit is contained in:
Cassio Santos
2020-06-09 20:50:16 -03:00
parent afaec2b3c6
commit d91c0c5155
28 changed files with 996 additions and 54 deletions

View File

@@ -7,6 +7,10 @@ const Message = sequelize.define("message", {
allowNull: false,
primaryKey: true,
},
createdAt: {
allowNull: false,
type: Sequelize.DATE(6),
},
userId: { type: Sequelize.INTEGER, defaultValue: 0 },
ack: { type: Sequelize.INTEGER, defaultValue: 0 },
messageBody: { type: Sequelize.STRING(250), allowNull: false },