summaryrefslogtreecommitdiff
path: root/db/migrations/0008_stiff_exodus.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0008_stiff_exodus.sql')
-rw-r--r--db/migrations/0008_stiff_exodus.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrations/0008_stiff_exodus.sql b/db/migrations/0008_stiff_exodus.sql
new file mode 100644
index 00000000..71218017
--- /dev/null
+++ b/db/migrations/0008_stiff_exodus.sql
@@ -0,0 +1,6 @@
+ALTER TABLE "vendor_candidates" ADD COLUMN "tax_id" varchar(100) NOT NULL;--> statement-breakpoint
+ALTER TABLE "vendor_candidates" ADD COLUMN "address" text;--> statement-breakpoint
+ALTER TABLE "vendor_candidates" ADD COLUMN "remark" text;--> statement-breakpoint
+ALTER TABLE "vendor_candidates" ADD COLUMN "items" text NOT NULL;--> statement-breakpoint
+ALTER TABLE "vendor_candidates" ADD COLUMN "vendor_id" integer;--> statement-breakpoint
+ALTER TABLE "vendor_candidates" ADD CONSTRAINT "vendor_candidates_vendor_id_vendors_id_fk" FOREIGN KEY ("vendor_id") REFERENCES "public"."vendors"("id") ON DELETE cascade ON UPDATE no action; \ No newline at end of file