fix: reference_no of bills transactions.

This commit is contained in:
Ahmed Bouhuolia
2020-11-10 11:31:17 +02:00
parent af37fe8cba
commit 3446dee8bb
2 changed files with 3 additions and 3 deletions

View File

@@ -6,13 +6,11 @@ exports.up = function(knex) {
table.string('bill_number');
table.date('bill_date').index();
table.date('due_date').index();
table.string('reference_no');
table.string('reference_no').index();
table.string('status').index();
table.text('note');
table.decimal('amount', 13, 3).defaultTo(0);
table.decimal('payment_amount', 13, 3).defaultTo(0);
table.string('inv_lot_number').index();
table.integer('user_id').unsigned();
table.timestamps();