summaryrefslogtreecommitdiff
path: root/db/migrations_backup/0022_panoramic_mad_thinker.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations_backup/0022_panoramic_mad_thinker.sql')
-rw-r--r--db/migrations_backup/0022_panoramic_mad_thinker.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrations_backup/0022_panoramic_mad_thinker.sql b/db/migrations_backup/0022_panoramic_mad_thinker.sql
new file mode 100644
index 00000000..dfdbd420
--- /dev/null
+++ b/db/migrations_backup/0022_panoramic_mad_thinker.sql
@@ -0,0 +1,8 @@
+CREATE TABLE "vendor_attachments" (
+ "id" serial PRIMARY KEY NOT NULL,
+ "vendor_id" integer,
+ "file_name" varchar(255) NOT NULL,
+ "file_path" varchar(1024) NOT NULL
+);
+--> statement-breakpoint
+ALTER TABLE "vendor_attachments" ADD CONSTRAINT "vendor_attachments_vendor_id_vendors_id_fk" FOREIGN KEY ("vendor_id") REFERENCES "public"."vendors"("id") ON DELETE no action ON UPDATE no action; \ No newline at end of file