From ef4c533ebacc2cdc97e518f30e9a9350004fcdfb Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 28 Apr 2025 02:13:30 +0000 Subject: ~20250428 작업사항 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrations/0008_stiff_exodus.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrations/0008_stiff_exodus.sql (limited to 'db/migrations/0008_stiff_exodus.sql') diff --git a/db/migrations/0008_stiff_exodus.sql b/db/migrations/0008_stiff_exodus.sql new file mode 100644 index 00000000..71218017 --- /dev/null +++ b/db/migrations/0008_stiff_exodus.sql @@ -0,0 +1,6 @@ +ALTER TABLE "vendor_candidates" ADD COLUMN "tax_id" varchar(100) NOT NULL;--> statement-breakpoint +ALTER TABLE "vendor_candidates" ADD COLUMN "address" text;--> statement-breakpoint +ALTER TABLE "vendor_candidates" ADD COLUMN "remark" text;--> statement-breakpoint +ALTER TABLE "vendor_candidates" ADD COLUMN "items" text NOT NULL;--> statement-breakpoint +ALTER TABLE "vendor_candidates" ADD COLUMN "vendor_id" integer;--> statement-breakpoint +ALTER TABLE "vendor_candidates" ADD CONSTRAINT "vendor_candidates_vendor_id_vendors_id_fk" FOREIGN KEY ("vendor_id") REFERENCES "public"."vendors"("id") ON DELETE cascade ON UPDATE no action; \ No newline at end of file -- cgit v1.2.3