IO-244 IOU Parts
This commit is contained in:
@@ -2123,6 +2123,7 @@
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- ioucreated
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
@@ -2185,6 +2186,7 @@
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- ioucreated
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
@@ -2258,6 +2260,7 @@
|
||||
- est_seq
|
||||
- glass_flag
|
||||
- id
|
||||
- ioucreated
|
||||
- jobid
|
||||
- lbr_amt
|
||||
- lbr_hrs_j
|
||||
@@ -2390,6 +2393,9 @@
|
||||
- name: employee_refinish_rel
|
||||
using:
|
||||
foreign_key_constraint_on: employee_refinish
|
||||
- name: iouparent_rel
|
||||
using:
|
||||
foreign_key_constraint_on: iouparent
|
||||
- name: owner
|
||||
using:
|
||||
foreign_key_constraint_on: ownerid
|
||||
@@ -2453,6 +2459,13 @@
|
||||
table:
|
||||
schema: public
|
||||
name: exportlog
|
||||
- name: ious
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: iouparent
|
||||
table:
|
||||
schema: public
|
||||
name: jobs
|
||||
- name: job_conversations
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
@@ -2678,6 +2691,7 @@
|
||||
- intakechecklist
|
||||
- invoice_allocation
|
||||
- invoice_date
|
||||
- iouparent
|
||||
- job_totals
|
||||
- kanbanparent
|
||||
- kmin
|
||||
@@ -2931,6 +2945,7 @@
|
||||
- intakechecklist
|
||||
- invoice_allocation
|
||||
- invoice_date
|
||||
- iouparent
|
||||
- job_totals
|
||||
- kanbanparent
|
||||
- kmin
|
||||
@@ -3194,6 +3209,7 @@
|
||||
- intakechecklist
|
||||
- invoice_allocation
|
||||
- invoice_date
|
||||
- iouparent
|
||||
- job_totals
|
||||
- kanbanparent
|
||||
- kmin
|
||||
|
||||
@@ -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