Resolve returnfrombill relationship issue.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: alter table "public"."parts_orders" rename column "returnfrombill" to "returnfrominvoice";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,6 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: alter table "public"."parts_orders" rename column "returnfrominvoice" to
|
||||
"returnfrombill";
|
||||
type: run_sql
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user