maintenance commit

This commit is contained in:
Cassio Santos
2020-06-01 10:29:34 -03:00
parent 47f152a145
commit 4f3f1dd484
19 changed files with 926 additions and 293 deletions

View File

@@ -5,6 +5,8 @@ const Message = sequelize.define("message", {
userId: { type: Sequelize.INTEGER, defaultValue: 0 },
messageBody: { type: Sequelize.STRING(250), allowNull: false },
read: { type: Sequelize.BOOLEAN, defaultValue: false },
mediaUrl: { type: Sequelize.STRING(250) },
mediaType: { type: Sequelize.STRING(250) },
});
module.exports = Message;