import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' export async function up({ db, payload, req }: MigrateUpArgs): Promise { await db.execute(sql` CREATE TABLE "parish_blocks_image_cards_items" ( "_order" integer NOT NULL, "_parent_id" varchar NOT NULL, "id" varchar PRIMARY KEY NOT NULL, "title" varchar, "image_id" uuid, "custom_link" varchar ); CREATE TABLE "parish_blocks_image_cards" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "_path" text NOT NULL, "id" varchar PRIMARY KEY NOT NULL, "block_name" varchar ); CREATE TABLE "_parish_v_blocks_image_cards_items" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "title" varchar, "image_id" uuid, "custom_link" varchar, "_uuid" varchar ); CREATE TABLE "_parish_v_blocks_image_cards" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "_path" text NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "_uuid" varchar, "block_name" varchar ); CREATE TABLE "blog_blocks_image_cards_items" ( "_order" integer NOT NULL, "_parent_id" varchar NOT NULL, "id" varchar PRIMARY KEY NOT NULL, "title" varchar, "image_id" uuid, "custom_link" varchar ); CREATE TABLE "blog_blocks_image_cards" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "_path" text NOT NULL, "id" varchar PRIMARY KEY NOT NULL, "block_name" varchar ); CREATE TABLE "_blog_v_blocks_image_cards_items" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "title" varchar, "image_id" uuid, "custom_link" varchar, "_uuid" varchar ); CREATE TABLE "_blog_v_blocks_image_cards" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "_path" text NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "_uuid" varchar, "block_name" varchar ); CREATE TABLE "pages_blocks_image_cards_items" ( "_order" integer NOT NULL, "_parent_id" varchar NOT NULL, "id" varchar PRIMARY KEY NOT NULL, "title" varchar, "image_id" uuid, "custom_link" varchar ); CREATE TABLE "pages_blocks_image_cards" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "_path" text NOT NULL, "id" varchar PRIMARY KEY NOT NULL, "block_name" varchar ); CREATE TABLE "pages_rels" ( "id" serial PRIMARY KEY NOT NULL, "order" integer, "parent_id" uuid NOT NULL, "path" varchar NOT NULL, "pages_id" uuid, "group_id" uuid ); CREATE TABLE "_pages_v_blocks_image_cards_items" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "title" varchar, "image_id" uuid, "custom_link" varchar, "_uuid" varchar ); CREATE TABLE "_pages_v_blocks_image_cards" ( "_order" integer NOT NULL, "_parent_id" uuid NOT NULL, "_path" text NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "_uuid" varchar, "block_name" varchar ); CREATE TABLE "_pages_v_rels" ( "id" serial PRIMARY KEY NOT NULL, "order" integer, "parent_id" uuid NOT NULL, "path" varchar NOT NULL, "pages_id" uuid, "group_id" uuid ); ALTER TABLE "announcement" ALTER COLUMN "date" SET DEFAULT '2026-04-12T11:40:57.328Z'; ALTER TABLE "calendar" ALTER COLUMN "date" SET DEFAULT '2026-04-12T11:40:57.621Z'; ALTER TABLE "classifieds" ALTER COLUMN "until" SET DEFAULT '2026-05-10T11:40:57.679Z'; ALTER TABLE "parish_rels" ADD COLUMN "pages_id" uuid; ALTER TABLE "parish_rels" ADD COLUMN "group_id" uuid; ALTER TABLE "_parish_v_rels" ADD COLUMN "pages_id" uuid; ALTER TABLE "_parish_v_rels" ADD COLUMN "group_id" uuid; ALTER TABLE "blog_rels" ADD COLUMN "pages_id" uuid; ALTER TABLE "blog_rels" ADD COLUMN "group_id" uuid; ALTER TABLE "_blog_v_rels" ADD COLUMN "pages_id" uuid; ALTER TABLE "_blog_v_rels" ADD COLUMN "group_id" uuid; ALTER TABLE "parish_blocks_image_cards_items" ADD CONSTRAINT "parish_blocks_image_cards_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; ALTER TABLE "parish_blocks_image_cards_items" ADD CONSTRAINT "parish_blocks_image_cards_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."parish_blocks_image_cards"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "parish_blocks_image_cards" ADD CONSTRAINT "parish_blocks_image_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."parish"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_parish_v_blocks_image_cards_items" ADD CONSTRAINT "_parish_v_blocks_image_cards_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; ALTER TABLE "_parish_v_blocks_image_cards_items" ADD CONSTRAINT "_parish_v_blocks_image_cards_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_parish_v_blocks_image_cards"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_parish_v_blocks_image_cards" ADD CONSTRAINT "_parish_v_blocks_image_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_parish_v"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "blog_blocks_image_cards_items" ADD CONSTRAINT "blog_blocks_image_cards_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; ALTER TABLE "blog_blocks_image_cards_items" ADD CONSTRAINT "blog_blocks_image_cards_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."blog_blocks_image_cards"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "blog_blocks_image_cards" ADD CONSTRAINT "blog_blocks_image_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."blog"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_blog_v_blocks_image_cards_items" ADD CONSTRAINT "_blog_v_blocks_image_cards_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; ALTER TABLE "_blog_v_blocks_image_cards_items" ADD CONSTRAINT "_blog_v_blocks_image_cards_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_blog_v_blocks_image_cards"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_blog_v_blocks_image_cards" ADD CONSTRAINT "_blog_v_blocks_image_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_blog_v"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "pages_blocks_image_cards_items" ADD CONSTRAINT "pages_blocks_image_cards_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; ALTER TABLE "pages_blocks_image_cards_items" ADD CONSTRAINT "pages_blocks_image_cards_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_image_cards"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "pages_blocks_image_cards" ADD CONSTRAINT "pages_blocks_image_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_group_fk" FOREIGN KEY ("group_id") REFERENCES "public"."group"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_pages_v_blocks_image_cards_items" ADD CONSTRAINT "_pages_v_blocks_image_cards_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; ALTER TABLE "_pages_v_blocks_image_cards_items" ADD CONSTRAINT "_pages_v_blocks_image_cards_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_image_cards"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_pages_v_blocks_image_cards" ADD CONSTRAINT "_pages_v_blocks_image_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_pages_v_rels" ADD CONSTRAINT "_pages_v_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."_pages_v"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_pages_v_rels" ADD CONSTRAINT "_pages_v_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_pages_v_rels" ADD CONSTRAINT "_pages_v_rels_group_fk" FOREIGN KEY ("group_id") REFERENCES "public"."group"("id") ON DELETE cascade ON UPDATE no action; CREATE INDEX "parish_blocks_image_cards_items_order_idx" ON "parish_blocks_image_cards_items" USING btree ("_order"); CREATE INDEX "parish_blocks_image_cards_items_parent_id_idx" ON "parish_blocks_image_cards_items" USING btree ("_parent_id"); CREATE INDEX "parish_blocks_image_cards_items_image_idx" ON "parish_blocks_image_cards_items" USING btree ("image_id"); CREATE INDEX "parish_blocks_image_cards_order_idx" ON "parish_blocks_image_cards" USING btree ("_order"); CREATE INDEX "parish_blocks_image_cards_parent_id_idx" ON "parish_blocks_image_cards" USING btree ("_parent_id"); CREATE INDEX "parish_blocks_image_cards_path_idx" ON "parish_blocks_image_cards" USING btree ("_path"); CREATE INDEX "_parish_v_blocks_image_cards_items_order_idx" ON "_parish_v_blocks_image_cards_items" USING btree ("_order"); CREATE INDEX "_parish_v_blocks_image_cards_items_parent_id_idx" ON "_parish_v_blocks_image_cards_items" USING btree ("_parent_id"); CREATE INDEX "_parish_v_blocks_image_cards_items_image_idx" ON "_parish_v_blocks_image_cards_items" USING btree ("image_id"); CREATE INDEX "_parish_v_blocks_image_cards_order_idx" ON "_parish_v_blocks_image_cards" USING btree ("_order"); CREATE INDEX "_parish_v_blocks_image_cards_parent_id_idx" ON "_parish_v_blocks_image_cards" USING btree ("_parent_id"); CREATE INDEX "_parish_v_blocks_image_cards_path_idx" ON "_parish_v_blocks_image_cards" USING btree ("_path"); CREATE INDEX "blog_blocks_image_cards_items_order_idx" ON "blog_blocks_image_cards_items" USING btree ("_order"); CREATE INDEX "blog_blocks_image_cards_items_parent_id_idx" ON "blog_blocks_image_cards_items" USING btree ("_parent_id"); CREATE INDEX "blog_blocks_image_cards_items_image_idx" ON "blog_blocks_image_cards_items" USING btree ("image_id"); CREATE INDEX "blog_blocks_image_cards_order_idx" ON "blog_blocks_image_cards" USING btree ("_order"); CREATE INDEX "blog_blocks_image_cards_parent_id_idx" ON "blog_blocks_image_cards" USING btree ("_parent_id"); CREATE INDEX "blog_blocks_image_cards_path_idx" ON "blog_blocks_image_cards" USING btree ("_path"); CREATE INDEX "_blog_v_blocks_image_cards_items_order_idx" ON "_blog_v_blocks_image_cards_items" USING btree ("_order"); CREATE INDEX "_blog_v_blocks_image_cards_items_parent_id_idx" ON "_blog_v_blocks_image_cards_items" USING btree ("_parent_id"); CREATE INDEX "_blog_v_blocks_image_cards_items_image_idx" ON "_blog_v_blocks_image_cards_items" USING btree ("image_id"); CREATE INDEX "_blog_v_blocks_image_cards_order_idx" ON "_blog_v_blocks_image_cards" USING btree ("_order"); CREATE INDEX "_blog_v_blocks_image_cards_parent_id_idx" ON "_blog_v_blocks_image_cards" USING btree ("_parent_id"); CREATE INDEX "_blog_v_blocks_image_cards_path_idx" ON "_blog_v_blocks_image_cards" USING btree ("_path"); CREATE INDEX "pages_blocks_image_cards_items_order_idx" ON "pages_blocks_image_cards_items" USING btree ("_order"); CREATE INDEX "pages_blocks_image_cards_items_parent_id_idx" ON "pages_blocks_image_cards_items" USING btree ("_parent_id"); CREATE INDEX "pages_blocks_image_cards_items_image_idx" ON "pages_blocks_image_cards_items" USING btree ("image_id"); CREATE INDEX "pages_blocks_image_cards_order_idx" ON "pages_blocks_image_cards" USING btree ("_order"); CREATE INDEX "pages_blocks_image_cards_parent_id_idx" ON "pages_blocks_image_cards" USING btree ("_parent_id"); CREATE INDEX "pages_blocks_image_cards_path_idx" ON "pages_blocks_image_cards" USING btree ("_path"); CREATE INDEX "pages_rels_order_idx" ON "pages_rels" USING btree ("order"); CREATE INDEX "pages_rels_parent_idx" ON "pages_rels" USING btree ("parent_id"); CREATE INDEX "pages_rels_path_idx" ON "pages_rels" USING btree ("path"); CREATE INDEX "pages_rels_pages_id_idx" ON "pages_rels" USING btree ("pages_id"); CREATE INDEX "pages_rels_group_id_idx" ON "pages_rels" USING btree ("group_id"); CREATE INDEX "_pages_v_blocks_image_cards_items_order_idx" ON "_pages_v_blocks_image_cards_items" USING btree ("_order"); CREATE INDEX "_pages_v_blocks_image_cards_items_parent_id_idx" ON "_pages_v_blocks_image_cards_items" USING btree ("_parent_id"); CREATE INDEX "_pages_v_blocks_image_cards_items_image_idx" ON "_pages_v_blocks_image_cards_items" USING btree ("image_id"); CREATE INDEX "_pages_v_blocks_image_cards_order_idx" ON "_pages_v_blocks_image_cards" USING btree ("_order"); CREATE INDEX "_pages_v_blocks_image_cards_parent_id_idx" ON "_pages_v_blocks_image_cards" USING btree ("_parent_id"); CREATE INDEX "_pages_v_blocks_image_cards_path_idx" ON "_pages_v_blocks_image_cards" USING btree ("_path"); CREATE INDEX "_pages_v_rels_order_idx" ON "_pages_v_rels" USING btree ("order"); CREATE INDEX "_pages_v_rels_parent_idx" ON "_pages_v_rels" USING btree ("parent_id"); CREATE INDEX "_pages_v_rels_path_idx" ON "_pages_v_rels" USING btree ("path"); CREATE INDEX "_pages_v_rels_pages_id_idx" ON "_pages_v_rels" USING btree ("pages_id"); CREATE INDEX "_pages_v_rels_group_id_idx" ON "_pages_v_rels" USING btree ("group_id"); ALTER TABLE "parish_rels" ADD CONSTRAINT "parish_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "parish_rels" ADD CONSTRAINT "parish_rels_group_fk" FOREIGN KEY ("group_id") REFERENCES "public"."group"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_parish_v_rels" ADD CONSTRAINT "_parish_v_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_parish_v_rels" ADD CONSTRAINT "_parish_v_rels_group_fk" FOREIGN KEY ("group_id") REFERENCES "public"."group"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "blog_rels" ADD CONSTRAINT "blog_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "blog_rels" ADD CONSTRAINT "blog_rels_group_fk" FOREIGN KEY ("group_id") REFERENCES "public"."group"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_blog_v_rels" ADD CONSTRAINT "_blog_v_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; ALTER TABLE "_blog_v_rels" ADD CONSTRAINT "_blog_v_rels_group_fk" FOREIGN KEY ("group_id") REFERENCES "public"."group"("id") ON DELETE cascade ON UPDATE no action; CREATE INDEX "parish_rels_pages_id_idx" ON "parish_rels" USING btree ("pages_id"); CREATE INDEX "parish_rels_group_id_idx" ON "parish_rels" USING btree ("group_id"); CREATE INDEX "_parish_v_rels_pages_id_idx" ON "_parish_v_rels" USING btree ("pages_id"); CREATE INDEX "_parish_v_rels_group_id_idx" ON "_parish_v_rels" USING btree ("group_id"); CREATE INDEX "blog_rels_pages_id_idx" ON "blog_rels" USING btree ("pages_id"); CREATE INDEX "blog_rels_group_id_idx" ON "blog_rels" USING btree ("group_id"); CREATE INDEX "_blog_v_rels_pages_id_idx" ON "_blog_v_rels" USING btree ("pages_id"); CREATE INDEX "_blog_v_rels_group_id_idx" ON "_blog_v_rels" USING btree ("group_id");`) } export async function down({ db, payload, req }: MigrateDownArgs): Promise { await db.execute(sql` ALTER TABLE "parish_blocks_image_cards_items" DISABLE ROW LEVEL SECURITY; ALTER TABLE "parish_blocks_image_cards" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_parish_v_blocks_image_cards_items" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_parish_v_blocks_image_cards" DISABLE ROW LEVEL SECURITY; ALTER TABLE "blog_blocks_image_cards_items" DISABLE ROW LEVEL SECURITY; ALTER TABLE "blog_blocks_image_cards" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_blog_v_blocks_image_cards_items" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_blog_v_blocks_image_cards" DISABLE ROW LEVEL SECURITY; ALTER TABLE "pages_blocks_image_cards_items" DISABLE ROW LEVEL SECURITY; ALTER TABLE "pages_blocks_image_cards" DISABLE ROW LEVEL SECURITY; ALTER TABLE "pages_rels" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_pages_v_blocks_image_cards_items" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_pages_v_blocks_image_cards" DISABLE ROW LEVEL SECURITY; ALTER TABLE "_pages_v_rels" DISABLE ROW LEVEL SECURITY; DROP TABLE "parish_blocks_image_cards_items" CASCADE; DROP TABLE "parish_blocks_image_cards" CASCADE; DROP TABLE "_parish_v_blocks_image_cards_items" CASCADE; DROP TABLE "_parish_v_blocks_image_cards" CASCADE; DROP TABLE "blog_blocks_image_cards_items" CASCADE; DROP TABLE "blog_blocks_image_cards" CASCADE; DROP TABLE "_blog_v_blocks_image_cards_items" CASCADE; DROP TABLE "_blog_v_blocks_image_cards" CASCADE; DROP TABLE "pages_blocks_image_cards_items" CASCADE; DROP TABLE "pages_blocks_image_cards" CASCADE; DROP TABLE "pages_rels" CASCADE; DROP TABLE "_pages_v_blocks_image_cards_items" CASCADE; DROP TABLE "_pages_v_blocks_image_cards" CASCADE; DROP TABLE "_pages_v_rels" CASCADE; ALTER TABLE "parish_rels" DROP CONSTRAINT "parish_rels_pages_fk"; ALTER TABLE "parish_rels" DROP CONSTRAINT "parish_rels_group_fk"; ALTER TABLE "_parish_v_rels" DROP CONSTRAINT "_parish_v_rels_pages_fk"; ALTER TABLE "_parish_v_rels" DROP CONSTRAINT "_parish_v_rels_group_fk"; ALTER TABLE "blog_rels" DROP CONSTRAINT "blog_rels_pages_fk"; ALTER TABLE "blog_rels" DROP CONSTRAINT "blog_rels_group_fk"; ALTER TABLE "_blog_v_rels" DROP CONSTRAINT "_blog_v_rels_pages_fk"; ALTER TABLE "_blog_v_rels" DROP CONSTRAINT "_blog_v_rels_group_fk"; DROP INDEX "parish_rels_pages_id_idx"; DROP INDEX "parish_rels_group_id_idx"; DROP INDEX "_parish_v_rels_pages_id_idx"; DROP INDEX "_parish_v_rels_group_id_idx"; DROP INDEX "blog_rels_pages_id_idx"; DROP INDEX "blog_rels_group_id_idx"; DROP INDEX "_blog_v_rels_pages_id_idx"; DROP INDEX "_blog_v_rels_group_id_idx"; ALTER TABLE "announcement" ALTER COLUMN "date" SET DEFAULT '2026-04-12T08:36:37.826Z'; ALTER TABLE "calendar" ALTER COLUMN "date" SET DEFAULT '2026-04-12T08:36:38.113Z'; ALTER TABLE "classifieds" ALTER COLUMN "until" SET DEFAULT '2026-05-09T08:36:38.168Z'; ALTER TABLE "parish_rels" DROP COLUMN "pages_id"; ALTER TABLE "parish_rels" DROP COLUMN "group_id"; ALTER TABLE "_parish_v_rels" DROP COLUMN "pages_id"; ALTER TABLE "_parish_v_rels" DROP COLUMN "group_id"; ALTER TABLE "blog_rels" DROP COLUMN "pages_id"; ALTER TABLE "blog_rels" DROP COLUMN "group_id"; ALTER TABLE "_blog_v_rels" DROP COLUMN "pages_id"; ALTER TABLE "_blog_v_rels" DROP COLUMN "group_id";`) }