fix: test table name
This commit is contained in:
parent
05243d03ca
commit
d232a7bb50
@ -148,7 +148,7 @@ $$`);
|
|||||||
await db.sequelize.query(`
|
await db.sequelize.query(`
|
||||||
CREATE TRIGGER last_name_changes
|
CREATE TRIGGER last_name_changes
|
||||||
BEFORE UPDATE
|
BEFORE UPDATE
|
||||||
ON ${app.db.getCollection('users').model.tableName}
|
ON ${app.db.getCollection('users').quotedTableName()}
|
||||||
FOR EACH ROW
|
FOR EACH ROW
|
||||||
EXECUTE PROCEDURE trigger_function();
|
EXECUTE PROCEDURE trigger_function();
|
||||||
`);
|
`);
|
||||||
|
Loading…
Reference in New Issue
Block a user