mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-17 04:15:05 +00:00
9 lines
229 B
PL/PgSQL
9 lines
229 B
PL/PgSQL
-- Roll back only the corrective FK.
|
|
-- Do not recreate the old self-reference FK because it is incompatible with valid data.
|
|
BEGIN;
|
|
|
|
ALTER TABLE channel_contacts
|
|
DROP CONSTRAINT IF EXISTS fk_channel_contacts_merged_id;
|
|
|
|
COMMIT;
|