feature/IO-3182-Phone-Number-Consent - Checkpoint
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- DROP table "public"."phone_number_consent_history";
|
||||
@@ -0,0 +1 @@
|
||||
DROP table "public"."phone_number_consent_history";
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."phone_number_consent" alter column "consent_status" drop not null;
|
||||
alter table "public"."phone_number_consent" add column "consent_status" bool;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."phone_number_consent" drop column "consent_status" cascade;
|
||||
@@ -0,0 +1,3 @@
|
||||
alter table "public"."phone_number_consent" alter column "consent_updated_at" set default now();
|
||||
alter table "public"."phone_number_consent" alter column "consent_updated_at" drop not null;
|
||||
alter table "public"."phone_number_consent" add column "consent_updated_at" timestamptz;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."phone_number_consent" drop column "consent_updated_at" cascade;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."phone_number_opt_out" rename to "phone_number_consent";
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."phone_number_consent" rename to "phone_number_opt_out";
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."bodyshops" alter column "enforce_sms_consent" drop not null;
|
||||
alter table "public"."bodyshops" add column "enforce_sms_consent" bool;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."bodyshops" drop column "enforce_sms_consent" cascade;
|
||||
Reference in New Issue
Block a user