Added job list container. Removed all previous migrations.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: DROP TABLE "public"."jobs"
|
||||
type: run_sql
|
||||
@@ -0,0 +1,13 @@
|
||||
- args:
|
||||
sql: CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
type: run_sql
|
||||
- args:
|
||||
sql: CREATE TABLE "public"."jobs"("jobid" uuid NOT NULL DEFAULT gen_random_uuid(),
|
||||
"ro_number" text NOT NULL, "est_number" text NOT NULL, "shopid" uuid NOT NULL,
|
||||
PRIMARY KEY ("jobid") , FOREIGN KEY ("shopid") REFERENCES "public"."bodyshops"("shopid")
|
||||
ON UPDATE restrict ON DELETE restrict);
|
||||
type: run_sql
|
||||
- args:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: add_existing_table_or_view
|
||||
Reference in New Issue
Block a user