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/0004_cheerful_stark_industries.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 db/migrations/0004_cheerful_stark_industries.sql

(limited to 'db/migrations/0004_cheerful_stark_industries.sql')

diff --git a/db/migrations/0004_cheerful_stark_industries.sql b/db/migrations/0004_cheerful_stark_industries.sql
new file mode 100644
index 00000000..5f8648e9
--- /dev/null
+++ b/db/migrations/0004_cheerful_stark_industries.sql
@@ -0,0 +1,2 @@
+ALTER TABLE "roles" ADD COLUMN "company_id" integer;--> statement-breakpoint
+ALTER TABLE "roles" ADD CONSTRAINT "roles_company_id_companies_id_fk" FOREIGN KEY ("company_id") REFERENCES "public"."companies"("id") ON DELETE cascade ON UPDATE no action;
\ No newline at end of file
-- 
cgit v1.2.3

