feat: Manual journals.

This commit is contained in:
Ahmed Bouhuolia
2020-04-05 19:20:47 +02:00
parent b2d1a09612
commit 2d904601fa
6 changed files with 127 additions and 5 deletions

View File

@@ -2,10 +2,11 @@
exports.up = function(knex) {
return knex.schema.createTable('manual_journals', (table) => {
table.increments();
table.string('reference');
table.string('journal_number');
table.string('transaction_type');
table.decimal('amount');
table.date('date');
table.boolean('status').defaultTo(false);
table.string('note');
table.integer('user_id').unsigned();
table.timestamps();