update ItemController

This commit is contained in:
Fayyazi
2019-07-18 17:47:57 +04:30
116 changed files with 1122 additions and 106 deletions
@@ -16,7 +16,10 @@ class CreateItemsTable extends Migration
Schema::create('items', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name');
<<<<<<< HEAD
$table->enum('result', array('Pass', 'Fail'));
=======
>>>>>>> 10d953023daea025df330b1f017bb2d80751d14d
$table->text('description');
$table->unsignedBigInteger('user_id');
$table->foreign('user_id')->references('id')->on('users');