diff --git a/modules/notification/notification.model.js b/modules/notification/notification.model.js index 1bf2803..24006bc 100644 --- a/modules/notification/notification.model.js +++ b/modules/notification/notification.model.js @@ -26,6 +26,11 @@ module.exports = function (sequelize, DataTypes) { type: DataTypes.JSON, allowNull: true, }, + userId: { + type: DataTypes.UUID, + allowNull: false, + foreignKey: true + } }, { tableName: 'notifications', freezeTableName: true,