mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
17 lines
408 B
JavaScript
17 lines
408 B
JavaScript
exports.up = (knex) => {
|
|
return knex.schema.createTable('tax_rates', (table) => {
|
|
table.increments();
|
|
table.string('name');
|
|
table.string('code');
|
|
table.decimal('rate');
|
|
table.boolean('is_non_recoverable');
|
|
table.boolean('is_compound');
|
|
table.integer('status');
|
|
table.timestamps();
|
|
});
|
|
};
|
|
|
|
exports.down = (knex) => {
|
|
return knex.schema.dropTableIfExists('tax_rates');
|
|
};
|