diff --git a/server/src/database/seeds/core/20190423085241_seed_accounts_types.js b/server/src/database/seeds/core/20190423085241_seed_accounts_types.js deleted file mode 100644 index d4ba67987..000000000 --- a/server/src/database/seeds/core/20190423085241_seed_accounts_types.js +++ /dev/null @@ -1,14 +0,0 @@ -import Container from 'typedi'; -import TenancyService from 'services/Tenancy/TenancyService' -import I18nMiddleware from 'api/middleware/I18nMiddleware'; -import AccountsTypesData from '../data/accounts_types'; - -exports.up = function (knex) { - return knex('account_types').insert([ - ...AccountsTypesData - ]); -}; - -exports.down = function(knex) { - -} \ No newline at end of file diff --git a/server/src/database/seeds/data/accounts_types.js b/server/src/database/seeds/data/accounts_types.js deleted file mode 100644 index bab8ac7f3..000000000 --- a/server/src/database/seeds/data/accounts_types.js +++ /dev/null @@ -1,109 +0,0 @@ - - -export default [ - { - key: 'cash', - normal: 'debit', - child_type: 'current_asset', - root_type: 'asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'bank', - normal: 'debit', - child_type: 'current_asset', - root_type: 'asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'accounts_receivable', - normal: 'debit', - root_type: 'asset', - child_type: 'current_asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'inventory', - normal: 'debit', - root_type: 'asset', - child_type: 'current_asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'other_current_asset', - normal: 'debit', - root_type: 'asset', - child_type: 'current_asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'fixed_asset', - normal: 'debit', - root_type: 'asset', - child_type: 'fixed_asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'non_current_asset', - normal: 'debit', - root_type: 'asset', - child_type: 'fixed_asset', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'accounts_payable', - normal: 'credit', - root_type: 'liability', - child_type: 'current_liability', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'credit_card', - normal: 'credit', - root_type: 'liability', - child_type: 'current_liability', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'tax_payable', - normal: 'credit', - root_type: 'liability', - child_type: 'current_liability', - balance_sheet: true, - income_sheet: false, - }, - { - key: 'other_current_liability', - normal: 'credit', - root_type: 'liability', - child_type: 'current_liability', - balance_sheet: false, - income_sheet: true, - }, - { - key: 'non_current_liability', - normal: 'credit', - root_type: 'liability', - child_type: 'current_liability', - balance_sheet: false, - income_sheet: true, - }, - { - key: 'long_term_liability', - normal: 'credit', - root_type: 'liability', - child_type: 'long_term_liability', - balance_sheet: false, - income_sheet: true, - }, - -]; \ No newline at end of file