summaryrefslogtreecommitdiff
path: root/db/migrations/0370_perfect_mentallo.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0370_perfect_mentallo.sql')
-rw-r--r--db/migrations/0370_perfect_mentallo.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrations/0370_perfect_mentallo.sql b/db/migrations/0370_perfect_mentallo.sql
new file mode 100644
index 00000000..7e068dbe
--- /dev/null
+++ b/db/migrations/0370_perfect_mentallo.sql
@@ -0,0 +1,3 @@
+ALTER TABLE "rfq_last_tbe_document_reviews" DROP CONSTRAINT "rfq_last_tbe_document_reviews_vendor_attachment_id_rfq_last_vendor_attachments_id_fk";
+--> statement-breakpoint
+ALTER TABLE "rfq_last_tbe_document_reviews" ADD CONSTRAINT "rfq_last_tbe_document_reviews_vendor_attachment_id_rfq_last_tbe_vendor_documents_id_fk" FOREIGN KEY ("vendor_attachment_id") REFERENCES "public"."rfq_last_tbe_vendor_documents"("id") ON DELETE cascade ON UPDATE no action; \ No newline at end of file