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