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",
|
"name": "idx_vouchers_contract_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"contract_id"
|
"contract_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_vouchers_order_id",
|
"name": "idx_vouchers_order_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"order_id"
|
"order_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_vouchers_voucher_number",
|
"name": "idx_vouchers_voucher_number",
|
||||||
"idxtype": "unique",
|
"idxtype": "unique",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"voucher_number",
|
"voucher_number",
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
@ -121,14 +121,14 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_vouchers_org_id",
|
"name": "idx_vouchers_org_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_vouchers_type",
|
"name": "idx_vouchers_type",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"voucher_type"
|
"voucher_type"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -122,14 +122,14 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_payments_contract_id",
|
"name": "idx_payments_contract_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"contract_id"
|
"contract_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_payments_payment_number",
|
"name": "idx_payments_payment_number",
|
||||||
"idxtype": "unique",
|
"idxtype": "unique",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"payment_number",
|
"payment_number",
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
@ -137,14 +137,14 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_payments_org_id",
|
"name": "idx_payments_org_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_payments_status",
|
"name": "idx_payments_status",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"payment_status"
|
"payment_status"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -84,28 +84,28 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_allocations_receipt_id",
|
"name": "idx_allocations_receipt_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"receipt_id"
|
"receipt_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_allocations_order_id",
|
"name": "idx_allocations_order_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"order_id"
|
"order_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_allocations_receivable_id",
|
"name": "idx_allocations_receivable_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"receivable_id"
|
"receivable_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_allocations_org_id",
|
"name": "idx_allocations_org_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -106,14 +106,14 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_receipts_customer_id",
|
"name": "idx_receipts_customer_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"customer_id"
|
"customer_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_receipts_receipt_number",
|
"name": "idx_receipts_receipt_number",
|
||||||
"idxtype": "unique",
|
"idxtype": "unique",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"receipt_number",
|
"receipt_number",
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
@ -121,14 +121,14 @@
|
|||||||
{
|
{
|
||||||
"name": "idx_receipts_org_id",
|
"name": "idx_receipts_org_id",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"org_id"
|
"org_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_receipts_status",
|
"name": "idx_receipts_status",
|
||||||
"idxtype": "index",
|
"idxtype": "index",
|
||||||
"columns": [
|
"idxfields": [
|
||||||
"receipt_status"
|
"receipt_status"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -66,27 +66,31 @@
|
|||||||
"indexes": [
|
"indexes": [
|
||||||
{
|
{
|
||||||
"name": "idx_receivables_customer",
|
"name": "idx_receivables_customer",
|
||||||
"fields": [
|
"idxfields": [
|
||||||
"customer_id"
|
"customer_id"
|
||||||
]
|
],
|
||||||
|
"idxtype": "index"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_receivables_contract",
|
"name": "idx_receivables_contract",
|
||||||
"fields": [
|
"idxfields": [
|
||||||
"contract_id"
|
"contract_id"
|
||||||
]
|
],
|
||||||
|
"idxtype": "index"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_receivables_status",
|
"name": "idx_receivables_status",
|
||||||
"fields": [
|
"idxfields": [
|
||||||
"status"
|
"status"
|
||||||
]
|
],
|
||||||
|
"idxtype": "index"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "idx_receivables_due_date",
|
"name": "idx_receivables_due_date",
|
||||||
"fields": [
|
"idxfields": [
|
||||||
"due_date"
|
"due_date"
|
||||||
]
|
],
|
||||||
|
"idxtype": "index"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"summary": [
|
"summary": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user