From 9ceed79cf32c896f8a998399bf1b296506b2cd4a Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 8 Apr 2025 03:08:19 +0000 Subject: 로그인 및 미들웨어 처리. 구조 변경 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrations/0050_furry_black_tarantula.sql | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 db/migrations/0050_furry_black_tarantula.sql (limited to 'db/migrations/0050_furry_black_tarantula.sql') diff --git a/db/migrations/0050_furry_black_tarantula.sql b/db/migrations/0050_furry_black_tarantula.sql deleted file mode 100644 index 66aaa47e..00000000 --- a/db/migrations/0050_furry_black_tarantula.sql +++ /dev/null @@ -1,14 +0,0 @@ -CREATE TABLE "document_attachments" ( - "id" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name "document_attachments_id_seq" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1), - "revision_id" integer NOT NULL, - "file_name" varchar(255) NOT NULL, - "file_path" varchar(1024) NOT NULL, - "file_type" varchar(50), - "file_size" integer, - "created_at" timestamp DEFAULT now() NOT NULL, - "updated_at" timestamp DEFAULT now() NOT NULL -); ---> statement-breakpoint -ALTER TABLE "document_attachments" ADD CONSTRAINT "document_attachments_revision_id_revisions_id_fk" FOREIGN KEY ("revision_id") REFERENCES "public"."revisions"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint -ALTER TABLE "revisions" DROP COLUMN "file_name";--> statement-breakpoint -ALTER TABLE "revisions" DROP COLUMN "file_path"; \ No newline at end of file -- cgit v1.2.3