generated from shadcn-ui/next-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create message uuid col for history tbale
- Loading branch information
1 parent
b560060
commit a0259b8
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
supabase/migrations/20240424003621_create_message_uuid_col_in_history_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
|
||
|