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/0014_clammy_power_man.sql | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 db/migrations/0014_clammy_power_man.sql (limited to 'db/migrations/0014_clammy_power_man.sql') diff --git a/db/migrations/0014_clammy_power_man.sql b/db/migrations/0014_clammy_power_man.sql deleted file mode 100644 index 3fd6a1e3..00000000 --- a/db/migrations/0014_clammy_power_man.sql +++ /dev/null @@ -1,14 +0,0 @@ -CREATE TABLE "items" ( - "id" serial PRIMARY KEY NOT NULL, - "item_code" varchar(100) PRIMARY KEY NOT NULL, - "item_name" varchar(255) NOT NULL, - "description" text, - "created_at" timestamp DEFAULT now() NOT NULL, - "updated_at" timestamp DEFAULT now() NOT NULL -); ---> statement-breakpoint -ALTER TABLE "vendor_possible_items" ALTER COLUMN "item_code" SET NOT NULL;--> statement-breakpoint -ALTER TABLE "rfq_items" ADD CONSTRAINT "rfq_items_item_code_items_item_code_fk" FOREIGN KEY ("item_code") REFERENCES "public"."items"("item_code") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint -ALTER TABLE "vendor_possible_items" ADD CONSTRAINT "vendor_possible_items_item_code_items_item_code_fk" FOREIGN KEY ("item_code") REFERENCES "public"."items"("item_code") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint -ALTER TABLE "rfq_items" DROP COLUMN "item_name";--> statement-breakpoint -ALTER TABLE "vendor_possible_items" DROP COLUMN "item_name"; \ No newline at end of file -- cgit v1.2.3