mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: database migrations FK relations.
fix: database columns indexing.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import { Container } from 'typedi';
|
||||
|
||||
// Here we import all events.
|
||||
import 'subscribers/authentication';
|
||||
import 'subscribers/organization';
|
||||
import 'subscribers/manualJournals';
|
||||
import 'subscribers/expenses';
|
||||
@@ -10,9 +10,7 @@ import Bill from 'models/Bill';
|
||||
import BillPayment from 'models/BillPayment';
|
||||
import BillPaymentEntry from 'models/BillPaymentEntry';
|
||||
import Currency from 'models/Currency';
|
||||
import Customer from 'models/Customer';
|
||||
import Contact from 'models/Contact';
|
||||
import Vendor from 'models/Vendor';
|
||||
import ExchangeRate from 'models/ExchangeRate';
|
||||
import Expense from 'models/Expense';
|
||||
import ExpenseCategory from 'models/ExpenseCategory';
|
||||
@@ -49,8 +47,6 @@ export default (knex) => {
|
||||
BillPayment,
|
||||
BillPaymentEntry,
|
||||
Currency,
|
||||
Customer,
|
||||
Vendor,
|
||||
ExchangeRate,
|
||||
Expense,
|
||||
ExpenseCategory,
|
||||
|
||||
Reference in New Issue
Block a user