mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
- feat: Make journal errors with receivable and payable accounts. - fix: Handle database big numbers. - fix: Indexing lines when add a new line on make journal form. - fix: Abstruct accounts type component.
15 lines
361 B
JavaScript
15 lines
361 B
JavaScript
|
|
exports.up = function(knex) {
|
|
return knex.schema.createTable('currency_adjustments', (table) => {
|
|
table.increments();
|
|
table.date('date');
|
|
table.string('currency_code');
|
|
table.decimal('exchange_rate', 8, 5);
|
|
table.string('note');
|
|
});
|
|
};
|
|
|
|
exports.down = function(knex) {
|
|
return knex.schema.dropTableIfExists('currency_adjustments');
|
|
};
|