Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Add facebook to dojo schema #315

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions scripts/database/pg/migrations/018.do.add-facebook-url-dojo.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DO $$
BEGIN
BEGIN
ALTER TABLE cd_dojos ADD facebook character varying;
EXCEPTION WHEN OTHERS THEN

RAISE NOTICE 'The transaction is in an uncommittable state. '
'Transaction was rolled back';

RAISE NOTICE 'Details: % %', SQLERRM, SQLSTATE;
END;
END;
$$