IO-1260 Remove VIN Unique Key
This commit is contained in:
@@ -2284,7 +2284,7 @@
|
|||||||
"city": "City",
|
"city": "City",
|
||||||
"cost_center": "Cost Center",
|
"cost_center": "Cost Center",
|
||||||
"country": "Country",
|
"country": "Country",
|
||||||
"discount": "Discount %",
|
"discount": "Discount % (as decimal)",
|
||||||
"display_name": "Display Name",
|
"display_name": "Display Name",
|
||||||
"due_date": "Payment Due Date",
|
"due_date": "Payment Due Date",
|
||||||
"email": "Contact Email",
|
"email": "Contact Email",
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
- args:
|
||||||
|
cascade: false
|
||||||
|
read_only: false
|
||||||
|
sql: alter table "public"."vehicles" add constraint "vehicles_v_vin_shopid_key"
|
||||||
|
unique ("v_vin", "shopid");
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
- args:
|
||||||
|
cascade: false
|
||||||
|
read_only: false
|
||||||
|
sql: alter table "public"."vehicles" drop constraint "vehicles_v_vin_shopid_key";
|
||||||
|
type: run_sql
|
||||||
Reference in New Issue
Block a user