From 1a2241c40e10193c5ff7008a7b7b36cc1d855d96 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Tue, 25 Mar 2025 15:55:45 +0900
Subject: initial commit

---
 db/migrations/0028_eminent_shockwave.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 db/migrations/0028_eminent_shockwave.sql

(limited to 'db/migrations/0028_eminent_shockwave.sql')

diff --git a/db/migrations/0028_eminent_shockwave.sql b/db/migrations/0028_eminent_shockwave.sql
new file mode 100644
index 00000000..e7c7997c
--- /dev/null
+++ b/db/migrations/0028_eminent_shockwave.sql
@@ -0,0 +1,2 @@
+ALTER TABLE "forms" ADD COLUMN "contract_item_id" integer NOT NULL;--> statement-breakpoint
+ALTER TABLE "forms" ADD CONSTRAINT "forms_contract_item_id_contract_items_id_fk" FOREIGN KEY ("contract_item_id") REFERENCES "public"."contract_items"("id") ON DELETE cascade ON UPDATE no action;
\ No newline at end of file
-- 
cgit v1.2.3

