mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
22 lines
548 B
JavaScript
22 lines
548 B
JavaScript
exports.up = function (knex) {
|
|
return knex.schema.createTable('bill_located_costs', (table) => {
|
|
table.increments();
|
|
|
|
table.decimal('amount', 13, 3).unsigned();
|
|
|
|
table.integer('fromTransactionId').unsigned();
|
|
table.string('fromTransactionType');
|
|
table.integer('fromTransactionEntryId').unsigned();
|
|
|
|
table.string('allocationMethod');
|
|
table.integer('costAccountId').unsigned();
|
|
table.text('description');
|
|
|
|
table.integer('billId').unsigned();
|
|
|
|
table.timestamps();
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {};
|