synax issues

This commit is contained in:
Deep Koluguri 2025-11-05 11:17:23 -05:00
parent 2cbec003a0
commit a305fd0190
1 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ const Notification = sequelize.define('Notification', {
type: DataTypes.UUID, type: DataTypes.UUID,
allowNull: false, allowNull: false,
references: { references: {
model: 'Users', model: 'users',
key: 'id' key: 'id'
} }
}, },
@ -39,7 +39,7 @@ const Notification = sequelize.define('Notification', {
type: DataTypes.UUID, type: DataTypes.UUID,
allowNull: true, allowNull: true,
references: { references: {
model: 'ChitGroups', model: 'chit_groups',
key: 'id' key: 'id'
} }
}, },
@ -48,7 +48,7 @@ const Notification = sequelize.define('Notification', {
type: DataTypes.UUID, type: DataTypes.UUID,
allowNull: true, allowNull: true,
references: { references: {
model: 'Payments', model: 'payments',
key: 'id' key: 'id'
} }
}, },
@ -57,7 +57,7 @@ const Notification = sequelize.define('Notification', {
type: DataTypes.UUID, type: DataTypes.UUID,
allowNull: true, allowNull: true,
references: { references: {
model: 'MonthlyDraws', model: 'monthly_draws',
key: 'id' key: 'id'
} }
}, },