feature/IO-3060-Realtime-Notifications- 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:
|
||||
-- update associations set notification_settings = '{}';
|
||||
@@ -0,0 +1 @@
|
||||
update associations set notification_settings = '{}';
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."associations" alter column "notification_settings" drop not null;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."associations" alter column "notification_settings" set not null;
|
||||
@@ -0,0 +1,5 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- update notifications set meta = '{}';
|
||||
-- update notifications set fcm_data = '{}';
|
||||
-- update notifications set ui_translation_meta = '{}';
|
||||
@@ -0,0 +1,3 @@
|
||||
update notifications set meta = '{}';
|
||||
update notifications set fcm_data = '{}';
|
||||
update notifications set ui_translation_meta = '{}';
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."notifications" alter column "meta" drop not null;
|
||||
ALTER TABLE "public"."notifications" ALTER COLUMN "meta" drop default;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."notifications" alter column "meta" set default jsonb_build_object();
|
||||
alter table "public"."notifications" alter column "meta" set not null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."notifications" alter column "fcm_data" drop not null;
|
||||
ALTER TABLE "public"."notifications" ALTER COLUMN "fcm_data" drop default;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."notifications" alter column "fcm_data" set default jsonb_build_object();
|
||||
alter table "public"."notifications" alter column "fcm_data" set not null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."notifications" alter column "ui_translation_meta" drop not null;
|
||||
ALTER TABLE "public"."notifications" ALTER COLUMN "ui_translation_meta" drop default;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."notifications" alter column "ui_translation_meta" set default jsonb_build_object();
|
||||
alter table "public"."notifications" alter column "ui_translation_meta" set not null;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."notifications" rename column "jobid" to "job_id";
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."notifications" rename column "job_id" to "jobid";
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."notifications" rename column "associationid" to "association_id";
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."notifications" rename column "association_id" to "associationid";
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."job_watchers" rename column "jobid" to "job_id";
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."job_watchers" rename column "job_id" to "jobid";
|
||||
Reference in New Issue
Block a user