Skip to content
Snippets Groups Projects
Commit ca833595 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Make the trigger commands compatible with older PostgreSQL versions

parent b592059a
No related branches found
No related tags found
1 merge request!129Make the trigger commands compatible with older PostgreSQL versions
Pipeline #960 passed
......@@ -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();"""
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment