Skip to content
Snippets Groups Projects

Make the trigger commands compatible with older PostgreSQL versions

Merged Daniel Lyons requested to merge add-created-updated-timestamps into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -68,14 +68,14 @@ def upgrade():
"""
create trigger capability_request_updated
before update on capability_requests
for each row execute function update_updated_at_timestamp();"""
for each row execute procedure update_updated_at_timestamp();"""
)
op.execute(
"""
create trigger workflow_request_updated
before update on workflow_requests
for each row execute function update_updated_at_timestamp();"""
for each row execute procedure update_updated_at_timestamp();"""
)
Loading