Cretate delete project confirm dialog

This commit is contained in:
Takeshi Kimata
2024-05-26 14:46:00 +09:00
parent 691684e9b7
commit 3ce68ebd30
7 changed files with 25 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Projects',
model: 'projects',
key: 'id',
onDelete: 'CASCADE',
onUpdate: 'CASCADE',

View File

@@ -29,7 +29,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Projects',
model: 'projects',
key: 'id',
},
onUpdate: 'CASCADE',