Imrpoving Item, Product and Users

This commit is contained in:
2018-09-11 20:48:09 -03:00
parent f7c00662d5
commit 7701c1a11d
17 changed files with 155 additions and 59 deletions

View File

@@ -16,9 +16,9 @@ class CreateItemsTable extends Migration
Schema::create('items', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->integer('productID');
$table->integer('usedBy');
$table->dateTime('usedSince');
$table->integer('product_id');
$table->integer('usedBy')->nullable();
$table->dateTime('usedSince')->nullable();
$table->timestamps();
});
}