mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 07:50:54 -03:00
Imrpoving Item, Product and Users
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user