Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
{
"exactCount" : 20000,
"scripts": [
{
"run": "after",
"snippetPath": "group_budget_view.sql",
"fromModuleVersion": "mod-finance-storage-4.0.0"
},
{
"run": "after",
"snippetPath": "migration/transaction.sql",
"fromModuleVersion": "mod-finance-storage-4.0.0"
},
{
"run": "after",
"snippetPath": "migration/ledgers.sql",
"fromModuleVersion": "mod-finance-storage-4.0.0"
},
{
"run": "after",
"snippetPath": "migration/funds.sql",
"fromModuleVersion": "mod-finance-storage-4.0.0"
},
{
"run": "after",
"snippetPath": "migration/fiscal_years.sql",
"fromModuleVersion": "mod-finance-storage-4.0.0"
},
{
"run": "after",
"snippetPath": "migration/budgets.sql",
"fromModuleVersion": "mod-finance-storage-4.2.1"
},
{
"run": "after",
"snippetPath": "migration/delete_trigger_functions.sql",
"fromModuleVersion": "mod-finance-storage-4.2.1"
},
{
"run": "after",
"snippetPath": "migration/transaction_source_enum.sql",
"fromModuleVersion": "mod-finance-storage-5.0.0"
},
{
"run": "after",
"snippetPath": "migration/fill_budget_net_transfer.sql",
"fromModuleVersion": "mod-finance-storage-6.0.0"
},
{
"run": "after",
"snippetPath": "migration/update_processed_order_transaction_summary.sql",
"fromModuleVersion": "mod-finance-storage-6.0.0"
},
{
"run": "after",
"snippetPath": "migration/update_order_encumbrance.sql",
"fromModuleVersion": "mod-finance-storage-7.0.0"
},
{
"run": "after",
"snippetPath": "migration/update_budget_summary_information.sql",
"fromModuleVersion": "mod-finance-storage-7.0.0"
},
{
"run": "after",
"snippetPath": "budget_financial_summary_view.sql",
"fromModuleVersion": "mod-finance-storage-7.0.0"
},
{
"run": "after",
"snippetPath": "budget_encumbrances_rollover.sql",
"fromModuleVersion": "mod-finance-storage-8.4.0"
},
{
"run": "after",
"snippetPath": "migration/restrictions_for_fund_and_ec_codes.sql",
"fromModuleVersion": "mod-finance-storage-8.0.0"
},
{
"run": "after",
"snippetPath": "ledger_rollover_log_view.sql",
"fromModuleVersion": "mod-finance-storage-8.3.0"
},
{
"run": "after",
"snippetPath": "migration/update_budget_rollover.sql",
"fromModuleVersion": "mod-finance-storage-8.4.0"
}
],
"tables": [
{
"tableName": "expense_class",
"fromModuleVersion": "mod-finance-storage-6.0.0",
"withOptimisticLocking": "failOnConflict",
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "fiscal_year",
"fromModuleVersion": "mod-finance-storage-5.0.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"index": [
{
"fieldName" : "periodEnd",
"tOps": "ADD"
}
],
"ginIndex": [
{
"fieldName": "name",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "acqUnitIds",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "code",
"tOps": "DELETE"
},
{
"fieldName": "series",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
],
"uniqueIndex": [
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "ledger",
"fromModuleVersion": "mod-finance-storage-5.0.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"foreignKeys": [
{
"fieldName": "fiscalYearOneId",
"targetTable": "fiscal_year",
"tOps": "ADD"
}
],
"index": [
{
"fieldName": "ledgerStatus",
"tOps": "ADD"
}
],
"ginIndex": [
{
"fieldName": "name",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "code",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "acqUnitIds",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
],
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "fund_type",
"fromModuleVersion": "mod-finance-storage-4.0.0",
"withOptimisticLocking": "failOnConflict",
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "fund",
"fromModuleVersion": "mod-finance-storage-4.0.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"foreignKeys": [
{
"fieldName": "ledgerId",
"targetTable": "ledger",
"tableAlias": "fund",
"targetTableAlias": "ledger",
"tOps": "ADD"
},
{
"fieldName": "fundTypeId",
"targetTable": "fund_type",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "code",
"tOps": "ADD"
}
],
"fullTextIndex": [
{
"fieldName": "acqUnitIds",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
],
"ginIndex": [
{
"fieldName": "name",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "acqUnitIds",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "fundStatus",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "code",
"tOps": "DELETE"
},
{
"fieldName": "fund_status",
"tOps": "DELETE"
},
{
"fieldName": "currency",
"tOps": "DELETE"
}
]
},
{
"tableName": "budget",
"fromModuleVersion": "mod-finance-storage-4.1.2",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"foreignKeys": [
{
"fieldName": "fundId",
"targetTable": "fund",
"tableAlias": "budget",
"targetTableAlias": "fund",
"tOps": "ADD"
},
{
"targetPath": ["fundId", "ledgerId"],
"targetTable": "ledger",
"targetTableAlias": "ledger",
"tableAlias": "budget"
},
{
"fieldName": "fiscalYearId",
"targetTable": "fiscal_year",
"tableAlias": "budget",
"targetTableAlias": "fiscalYear",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "fundId, fiscalYearId",
"tOps": "ADD"
}
],
"ginIndex": [
{
"fieldName": "name",
"tOps": "DELETE"
},
{
"fieldName": "code",
"tOps": "DELETE"
},
{
"fieldName": "budget_status",
"tOps": "DELETE"
},
{
"fieldName": "budgetStatus",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
]
},
{
"tableName": "budget_expense_class",
"fromModuleVersion": "mod-finance-storage-6.0.0",
"withOptimisticLocking": "failOnConflict",
"uniqueIndex": [
{
"fieldName": "budgetId_expenseClassId",
"multiFieldNames": "budgetId, expenseClassId",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "budgetId",
"targetTable": "budget",
"tableAlias": "budgetExpenseClass",
"targetTableAlias": "budget",
"tOps": "ADD"
},
{
"fieldName": "expenseClassId",
"targetTable": "expense_class",
"tableAlias": "budgetExpenseClass",
"targetTableAlias": "expenseClass",
"tOps": "ADD"
}
]
},
{
"tableName": "fund_distribution",
"fromModuleVersion": "mod-finance-storage-4.2.1",
"mode": "delete",
"auditingTableName": "NOT_EXISTING_AUDITING_TABLE"
},
{
"tableName": "transaction",
"fromModuleVersion": "mod-finance-storage-7.1.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"customSnippetPath": "transactions.sql",
"uniqueIndex": [
{
"fieldName": "encumbrance",
"multiFieldNames": "amount, fromFundId, encumbrance.sourcePurchaseOrderId, encumbrance.sourcePoLineId, encumbrance.initialAmountEncumbered, encumbrance.status, expenseClassId, fiscalYearId",
"tOps": "ADD",
"whereClause": "WHERE (jsonb->>'transactionType')::text = 'Encumbrance'"
},
{
"fieldName": "payment",
"multiFieldNames": "amount, fromFundId, sourceInvoiceId, sourceInvoiceLineId, transactionType, expenseClassId",
"tOps": "ADD",
"whereClause": "WHERE (jsonb->>'transactionType')::text = 'Payment' OR (jsonb->>'transactionType')::text = 'Pending payment'"
},
{
"fieldName": "credit",
"multiFieldNames": "amount, toFundId, sourceInvoiceId, sourceInvoiceLineId, transactionType, expenseClassId",
"tOps": "ADD",
"whereClause": "WHERE (jsonb->>'transactionType')::text = 'Credit'"
}
],
"foreignKeys": [
{
"fieldName": "fiscalYearId",
"targetTable": "fiscal_year",
"tOps": "ADD"
},
{
"fieldName": "fromFundId",
"targetTable": "fund",
"tOps": "ADD"
},
{
"fieldName": "sourceFiscalYearId",
"targetTable": "fiscal_year",
"tOps": "ADD"
},
{
"fieldName": "toFundId",
"targetTable": "fund",
"tOps": "ADD"
},
{
"fieldName": "expenseClassId",
"targetTable": "expense_class"
}
],
"ginIndex": [
{
"fieldName": "amount",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "transactionType",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "encumbrance.sourcePurchaseOrderId",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
]
},
{
"tableName": "groups",
"fromModuleVersion": "mod-finance-storage-4.0.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"ginIndex": [
{
"fieldName": "status",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "acqUnitIds",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
],
"uniqueIndex": [
{
"fieldName": "code",
"tOps": "ADD"
},
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "ledgerFY",
"fromModuleVersion": "mod-finance-storage-6.0.0",
"mode": "delete",
"auditingTableName": "NOT_EXISTING_AUDITING_TABLE"
},
{
"tableName": "group_fund_fiscal_year",
"fromModuleVersion": "mod-finance-storage-4.0.0",
"withOptimisticLocking": "failOnConflict",
"foreignKeys": [
{
"fieldName": "budgetId",
"targetTable": "budget",
"tableAlias": "groupFundFY",
"targetTableAlias": "budget",
"tOps": "ADD"
},
{
"fieldName": "groupId",
"targetTable": "groups",
"tableAlias": "groupFundFY",
"targetTableAlias": "group",
"tOps": "ADD"
},
{
"fieldName": "fundId",
"targetTable": "fund",
"tableAlias": "groupFundFY",
"targetTableAlias": "fund",
"tOps": "ADD"
},
{
"fieldName": "fiscalYearId",
"targetTable": "fiscal_year",
"tableAlias": "groupFundFY",
"targetTableAlias": "fiscalYear",
"tOps": "ADD"
},
{
"targetPath": [
"fundId",
"ledgerId"
],
"targetTable": "ledger",
"targetTableAlias": "ledger",
"tableAlias": "groupFundFY",
"tOps": "ADD"
},
{
"targetPath": ["fundId", "fundTypeId"],
"targetTable": "fund_type",
"targetTableAlias": "fundType",
"tableAlias": "groupFundFY",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "groupId, fundId, fiscalYearId",
"tOps": "ADD"
}
]
},
{
"tableName": "order_transaction_summaries",
"fromModuleVersion": "mod-finance-storage-4.0.0"
},
{
"tableName": "temporary_order_transactions",
"fromModuleVersion": "mod-finance-storage-6.0.0",
"foreignKeys": [
{
"fieldName": "encumbrance.sourcePurchaseOrderId",
"targetTable": "order_transaction_summaries",
"tOps": "ADD"
},
{
"fieldName": "fiscalYearId",
"targetTable": "fiscal_year",
"tOps": "ADD"
},
{
"fieldName": "fromFundId",
"targetTable": "fund",
"tOps": "ADD"
}, {
"fieldName": "expenseClassId",
"targetTable": "expense_class"
}
],
"uniqueIndex": [
{
"fieldName": "temp_order_tx",
"multiFieldNames": "amount, fromFundId, encumbrance.sourcePurchaseOrderId, encumbrance.sourcePoLineId, encumbrance.initialAmountEncumbered, encumbrance.status, expenseClassId",
"tOps": "ADD"
}
]
},
{
"tableName": "invoice_transaction_summaries",
"fromModuleVersion": "mod-finance-storage-4.2.1"
},
{
"tableName": "temporary_invoice_transactions",
"fromModuleVersion": "mod-finance-storage-6.0.0",
"uniqueIndex": [
{
"fieldName": "temp_invoice_tx",
"sqlExpression": "concat_space_sql(lower(f_unaccent(jsonb->>'amount')) , lower(f_unaccent(jsonb->>'fromFundId')) , lower(f_unaccent(jsonb->>'sourceInvoiceId')) , lower(f_unaccent(jsonb->>'sourceInvoiceLineId')) , lower(f_unaccent(jsonb->>'toFundId')) , lower(f_unaccent(jsonb->>'transactionType')), lower(f_unaccent(jsonb->>'expenseClassId')))",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "sourceInvoiceId",
"targetTable": "invoice_transaction_summaries",
"tOps": "ADD"
},
{
"fieldName": "paymentEncumbranceId",
"targetTable": "transaction",
"tOps": "ADD"
},
{
"fieldName": "fromFundId",
"targetTable": "fund",
"tOps": "ADD"
},
{
"fieldName": "toFundId",
"targetTable": "fund",
"tOps": "ADD"
},
{
"fieldName": "fiscalYearId",
"targetTable": "fiscal_year",
"tOps": "ADD"
},
{
"fieldName": "expenseClassId",
"targetTable": "expense_class"
}
]
},
{
"tableName": "temporary_invoice_payments",
"fromModuleVersion": "mod-finance-storage-4.2.1",
"mode": "delete",
"auditingTableName": "NOT_EXISTING_AUDITING_TABLE"
},
{
"tableName": "ledger_fiscal_year_rollover",
"fromModuleVersion": "mod-finance-storage-8.3.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"foreignKeys": [
{
"fieldName": "ledgerId",
"targetTable": "ledger"
},
{
"fieldName": "fromFiscalYearId",
"targetTable": "fiscal_year"
},
{
"fieldName": "toFiscalYearId",
"targetTable": "fiscal_year"
}
]
},
{
"tableName": "ledger_fiscal_year_rollover_budget",
"fromModuleVersion": "mod-finance-storage-8.3.0",
"withMetadata": true,
"withOptimisticLocking": "failOnConflict",
"foreignKeys": [
{
"fieldName": "ledgerRolloverId",
"targetTable": "ledger_fiscal_year_rollover",
"tableAlias": "ledgerFYROBudget",
"targetTableAlias": "ledgerFYRO",
"tOps": "ADD"
},
{
"fieldName": "fundId",
"targetTable": "fund",
"tableAlias": "ledgerFYROBudget",
"targetTableAlias": "fund",
"tOps": "ADD"
},
{
"fieldName": "fiscalYearId",
"targetTable": "fiscal_year",
"tableAlias": "ledgerFYROBudget",
"targetTableAlias": "fiscalYear",
"tOps": "ADD"
}
],
"index": [
{
"fieldName": "ledgerRolloverId",
"tOps": "ADD"
},
{
"fieldName": "fiscalYearId",
"tOps": "ADD"
}
]
},
{
"tableName": "ledger_fiscal_year_rollover_progress",
"fromModuleVersion": "mod-finance-storage-7.0.0",
"withMetadata": true,
"index": [
{
"fieldName": "overallRolloverStatus",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
],
"uniqueIndex": [
{
"fieldName": "ledgerRolloverId",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "ledgerRolloverId",
"targetTable": "ledger_fiscal_year_rollover",
"tableAlias": "ledgerFYROProgress",
"targetTableAlias": "ledgerFYRO",
"tOps": "ADD"
}
]
},
{
"tableName": "ledger_fiscal_year_rollover_error",
"fromModuleVersion": "mod-finance-storage-7.0.0",
"withMetadata": true,
"index": [
{
"fieldName": "details.purchaseOrderId",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "details.fundId",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "errorType"
}
],
"foreignKeys": [
{
"fieldName": "ledgerRolloverId",
"targetTable": "ledger_fiscal_year_rollover",
"tableAlias": "ledgerFYROError",
"targetTableAlias": "ledgerFYRO",
"tOps": "ADD"
}
]
}
]
}