summaryrefslogtreecommitdiff
path: root/db/migrations_backup/0083_dark_firestar.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations_backup/0083_dark_firestar.sql')
-rw-r--r--db/migrations_backup/0083_dark_firestar.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrations_backup/0083_dark_firestar.sql b/db/migrations_backup/0083_dark_firestar.sql
new file mode 100644
index 00000000..9b05fbe3
--- /dev/null
+++ b/db/migrations_backup/0083_dark_firestar.sql
@@ -0,0 +1,3 @@
+ALTER TABLE "roles" DROP CONSTRAINT "roles_company_id_companies_id_fk";
+--> statement-breakpoint
+ALTER TABLE "roles" ADD CONSTRAINT "roles_company_id_vendors_id_fk" FOREIGN KEY ("company_id") REFERENCES "public"."vendors"("id") ON DELETE cascade ON UPDATE no action; \ No newline at end of file