DB change
This commit is contained in:
@@ -27,7 +27,7 @@ const League = sequelize.define('League', {
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: false,
|
||||
references: {
|
||||
model: 'clubs',
|
||||
model: Club,
|
||||
key: 'id',
|
||||
},
|
||||
onDelete: 'CASCADE',
|
||||
|
||||
Reference in New Issue
Block a user