Edit Item DB structure

This commit is contained in:
Mathieu Lagace
2019-08-27 13:36:55 -04:00
parent 615752d61a
commit 509a135e74
6 changed files with 146 additions and 2 deletions

View File

@@ -15,9 +15,12 @@ class CreateItemsTable extends Migration
{
Schema::create('items', function (Blueprint $table) {
$table->increments('id');
$table->integer('category_id');
$table->integer('quantity');
$table->string('name');
$table->string('official_number');
$table->string('desc');
$table->text('metadata');
$table->timestamps();
});
}