fix(server): pull-request nodes

This commit is contained in:
Ahmed Bouhuolia
2023-09-22 15:23:33 +02:00
parent eaf72d1608
commit ce41845bd7
23 changed files with 153 additions and 215 deletions

View File

@@ -19,8 +19,6 @@ exports.up = (knex) => {
.unsigned()
.references('id')
.inTable('tax_rates');
table.string('tax_code');
table.decimal('tax_rate');
})
.table('sales_invoices', (table) => {
table.boolean('is_inclusive_tax').defaultTo(false);
@@ -35,7 +33,7 @@ exports.up = (knex) => {
.inTable('tax_rates');
table.string('reference_type');
table.integer('reference_id');
table.decimal('tax_amount');
table.decimal('rate').unsigned();
table.integer('tax_account_id').unsigned();
})
.table('accounts_transactions', (table) => {

View File

@@ -1,7 +0,0 @@
exports.up = function (knex) {
return knex.table('sales_invoices', (table) => {
table.renameColumn('balance', 'amount');
});
};
exports.down = function (knex) {};