.
This commit is contained in:
parent
95413ca00e
commit
2035343245
@ -26,6 +26,11 @@ module.exports = function (sequelize, DataTypes) {
|
|||||||
type: DataTypes.JSON,
|
type: DataTypes.JSON,
|
||||||
allowNull: true,
|
allowNull: true,
|
||||||
},
|
},
|
||||||
|
userId: {
|
||||||
|
type: DataTypes.UUID,
|
||||||
|
allowNull: false,
|
||||||
|
foreignKey: true
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
tableName: 'notifications',
|
tableName: 'notifications',
|
||||||
freezeTableName: true,
|
freezeTableName: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user