fix item categories API.

This commit is contained in:
Ahmed Bouhuolia
2020-03-31 14:28:13 +02:00
parent d9e10fd6b4
commit da05239e84
4 changed files with 181 additions and 92 deletions

View File

@@ -2,7 +2,7 @@
exports.up = function (knex) {
return knex.schema.createTable('items_categories', (table) => {
table.increments();
table.string('label');
table.string('name');
table.integer('parent_category_id').unsigned();
table.text('description');
table.integer('user_id').unsigned();