fix: activate/inactivate item.

This commit is contained in:
Ahmed Bouhuolia
2020-11-29 13:04:00 +02:00
parent ea39eb17a7
commit 130aa6a400
4 changed files with 9 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ exports.up = function (knex) {
table.text('purchase_description').nullable();
table.integer('quantity_on_hand');
table.text('note').nullable();
table.boolean('active');
table.integer('category_id').unsigned().index().references('id').inTable('items_categories');
table.integer('user_id').unsigned().index();
table.timestamps();