mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
- feat: Sales invoices APIs. - feat: Sales receipts APIs. - WIP: Sales payment receipts. - WIP: Purchases bills. - WIP: Purchases payments made.
19 lines
491 B
JavaScript
19 lines
491 B
JavaScript
|
|
exports.up = function(knex) {
|
|
return knex.schema.createTable('sales_estimates', (table) => {
|
|
table.increments();
|
|
table.integer('customer_id').unsigned();
|
|
table.date('estimate_date');
|
|
table.date('expiration_date');
|
|
table.string('reference');
|
|
table.string('estimate_number');
|
|
table.text('note');
|
|
table.text('terms_conditions');
|
|
table.timestamps();
|
|
});
|
|
};
|
|
|
|
exports.down = function(knex) {
|
|
return knex.schema.dropTableIfExists('sales_estimates');
|
|
};
|