IO-244 IOU Parts
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."jobs" add column "iouparent" uuid
|
||||
-- null;
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."jobs" add column "iouparent" uuid
|
||||
null;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."jobs" drop constraint "jobs_iouparent_fkey";
|
||||
@@ -0,0 +1,5 @@
|
||||
alter table "public"."jobs"
|
||||
add constraint "jobs_iouparent_fkey"
|
||||
foreign key ("iouparent")
|
||||
references "public"."jobs"
|
||||
("id") on update set null on delete set null;
|
||||
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS "jobs_idx_iouparent";
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE INDEX "jobs_idx_iouparent" on
|
||||
"public"."jobs" using btree ("iouparent");
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "ioucreated" boolean
|
||||
-- not null default 'false';
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "ioucreated" boolean
|
||||
not null default 'false';
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Could not auto-generate a down migration.
|
||||
-- Please write an appropriate down migration for the SQL below:
|
||||
-- alter table "public"."joblines" add column "iou" boolean
|
||||
-- not null default 'false';
|
||||
@@ -0,0 +1,2 @@
|
||||
alter table "public"."joblines" add column "iou" boolean
|
||||
not null default 'false';
|
||||
@@ -0,0 +1,3 @@
|
||||
alter table "public"."joblines" alter column "iou" set default false;
|
||||
alter table "public"."joblines" alter column "iou" drop not null;
|
||||
alter table "public"."joblines" add column "iou" bool;
|
||||
@@ -0,0 +1 @@
|
||||
alter table "public"."joblines" drop column "iou" cascade;
|
||||
Reference in New Issue
Block a user