Including occupied username and renaming DB field

Now it shows the username of who is using an item.
Item db field 'usedBy' was renamed to 'used_by' to keep consistence.
This commit is contained in:
2018-09-14 12:52:07 -03:00
parent 925c378d1e
commit ea3ffaad39
11 changed files with 59 additions and 36 deletions

View File

@@ -17,8 +17,8 @@ class CreateItemsTable extends Migration
$table->increments('id');
$table->string('name');
$table->integer('product_id');
$table->integer('usedBy')->nullable();
$table->dateTime('usedSince')->nullable();
$table->integer('used_by')->nullable();
$table->integer('waiting_user_id')->nullable();
$table->timestamps();
});
}