fix: rename index field key from fields/columns to idxfields
This commit is contained in:
parent
a0eac5f516
commit
1a35ac4254
@ -99,21 +99,21 @@
|
||||
{
|
||||
"name": "idx_vouchers_contract_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"contract_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_vouchers_order_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"order_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_vouchers_voucher_number",
|
||||
"idxtype": "unique",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"voucher_number",
|
||||
"org_id"
|
||||
]
|
||||
@ -121,14 +121,14 @@
|
||||
{
|
||||
"name": "idx_vouchers_org_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"org_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_vouchers_type",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"voucher_type"
|
||||
]
|
||||
}
|
||||
|
||||
@ -122,14 +122,14 @@
|
||||
{
|
||||
"name": "idx_payments_contract_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"contract_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_payments_payment_number",
|
||||
"idxtype": "unique",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"payment_number",
|
||||
"org_id"
|
||||
]
|
||||
@ -137,14 +137,14 @@
|
||||
{
|
||||
"name": "idx_payments_org_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"org_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_payments_status",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"payment_status"
|
||||
]
|
||||
}
|
||||
|
||||
@ -84,28 +84,28 @@
|
||||
{
|
||||
"name": "idx_allocations_receipt_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"receipt_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_allocations_order_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"order_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_allocations_receivable_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"receivable_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_allocations_org_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"org_id"
|
||||
]
|
||||
}
|
||||
|
||||
@ -106,14 +106,14 @@
|
||||
{
|
||||
"name": "idx_receipts_customer_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"customer_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_receipts_receipt_number",
|
||||
"idxtype": "unique",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"receipt_number",
|
||||
"org_id"
|
||||
]
|
||||
@ -121,14 +121,14 @@
|
||||
{
|
||||
"name": "idx_receipts_org_id",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"org_id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_receipts_status",
|
||||
"idxtype": "index",
|
||||
"columns": [
|
||||
"idxfields": [
|
||||
"receipt_status"
|
||||
]
|
||||
}
|
||||
|
||||
@ -66,27 +66,31 @@
|
||||
"indexes": [
|
||||
{
|
||||
"name": "idx_receivables_customer",
|
||||
"fields": [
|
||||
"idxfields": [
|
||||
"customer_id"
|
||||
]
|
||||
],
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_receivables_contract",
|
||||
"fields": [
|
||||
"idxfields": [
|
||||
"contract_id"
|
||||
]
|
||||
],
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_receivables_status",
|
||||
"fields": [
|
||||
"idxfields": [
|
||||
"status"
|
||||
]
|
||||
],
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_receivables_due_date",
|
||||
"fields": [
|
||||
"idxfields": [
|
||||
"due_date"
|
||||
]
|
||||
],
|
||||
"idxtype": "index"
|
||||
}
|
||||
],
|
||||
"summary": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user