finish up example and fixes

This commit is contained in:
D. Scott Boggs 2024-06-06 13:41:23 -04:00
parent b4f2ccd8fe
commit 88789d83c6
8 changed files with 143 additions and 858 deletions

View file

@ -19,7 +19,7 @@ module.exports = {
submittedBy: {
type: Sequelize.INTEGER,
references: {
model: 'user',
model: 'users',
key: 'id',
onDelete: 'SET NULL',
onUpdate: 'CASCADE'
@ -28,7 +28,7 @@ module.exports = {
reviewedBy: {
type: Sequelize.INTEGER,
references: {
model: 'user',
model: 'users',
key: 'id',
onDelete: 'SET NULL',
onUpdate: 'CASCADE'