Resolve returnfrombill relationship issue.

This commit is contained in:
Patrick Fic
2021-02-15 18:49:19 -08:00
parent 99b652e078
commit 2587903ccc
10 changed files with 717 additions and 14 deletions

View File

@@ -0,0 +1,5 @@
- args:
cascade: false
read_only: false
sql: alter table "public"."parts_orders" rename column "returnfrombill" to "returnfrominvoice";
type: run_sql

View File

@@ -0,0 +1,6 @@
- args:
cascade: false
read_only: false
sql: alter table "public"."parts_orders" rename column "returnfrominvoice" to
"returnfrombill";
type: run_sql

View File

@@ -491,7 +491,7 @@ tables:
- name: parts_orders
using:
foreign_key_constraint_on:
column: returnfrominvoice
column: returnfrombill
table:
schema: public
name: parts_orders
@@ -3412,7 +3412,7 @@ tables:
object_relationships:
- name: bill
using:
foreign_key_constraint_on: returnfrominvoice
foreign_key_constraint_on: returnfrombill
- name: job
using:
foreign_key_constraint_on: jobid
@@ -3451,7 +3451,7 @@ tables:
- order_date
- order_number
- return
- returnfrominvoice
- returnfrombill
- status
- updated_at
- user_email
@@ -3467,7 +3467,7 @@ tables:
- order_date
- order_number
- return
- returnfrominvoice
- returnfrombill
- status
- updated_at
- user_email
@@ -3492,7 +3492,7 @@ tables:
- jobid
- order_date
- order_number
- returnfrominvoice
- returnfrombill
- status
- updated_at
- user_email