feat: fix a bunch of bugs.

This commit is contained in:
Ahmed Bouhuolia
2020-04-28 04:01:10 +02:00
parent 6d0ad42582
commit 0cfa1126c5
41 changed files with 591 additions and 187 deletions

View File

@@ -9,6 +9,7 @@ exports.up = function (knex) {
table.text('description');
table.boolean('active').defaultTo(true);
table.integer('index').unsigned();
table.boolean('predefined').defaultTo(false);
table.timestamps();
}).then(() => {
return knex.seed.run({

View File

@@ -4,6 +4,7 @@ exports.up = (knex) => {
table.increments();
table.string('name');
table.string('normal');
table.string('root_type');
table.boolean('balance_sheet');
table.boolean('income_sheet');
}).then(() => {