Skip to content

Commit

Permalink
feat: create message uuid col for history tbale
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljaijai committed Apr 24, 2024
1 parent b560060 commit a0259b8
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
alter table "public"."post_contact_history" add column "message_uuid" uuid;

alter table "public"."referral_contact_history" add column "message_uuid" uuid;

alter table "public"."post_contact_history" add constraint "post_contact_history_message_uuid_fkey" FOREIGN KEY (message_uuid) REFERENCES message(uuid) not valid;

alter table "public"."post_contact_history" validate constraint "post_contact_history_message_uuid_fkey";

alter table "public"."referral_contact_history" add constraint "referral_contact_history_message_uuid_fkey" FOREIGN KEY (message_uuid) REFERENCES message(uuid) not valid;

alter table "public"."referral_contact_history" validate constraint "referral_contact_history_message_uuid_fkey";


0 comments on commit a0259b8

Please sign in to comment.