CREATE TABLE "form"."cdn" ( "id" text PRIMARY KEY NOT NULL, "data" "bytea" NOT NULL, "name" text, "type" text NOT NULL, "size" integer NOT NULL, "owner_discord_id" text, "created_at" timestamp DEFAULT now() NOT NULL ); --> statement-breakpoint DROP INDEX "form"."submission_form_user_discord_id_unique";--> statement-breakpoint ALTER TABLE "form"."answer" ADD COLUMN "image_cdn_id" text;--> statement-breakpoint ALTER TABLE "form"."form" ADD COLUMN "allow_multiple_submissions" boolean DEFAULT false NOT NULL;--> statement-breakpoint ALTER TABLE "form"."question" ADD COLUMN "image_answer_mode" text DEFAULT 'none' NOT NULL;--> statement-breakpoint ALTER TABLE "form"."answer" ADD CONSTRAINT "answer_image_cdn_id_cdn_id_fk" FOREIGN KEY ("image_cdn_id") REFERENCES "form"."cdn"("id") ON DELETE set null ON UPDATE cascade;