add pack and update items & packegs & cycles

This commit is contained in:
Fayyazi
2019-09-07 13:49:04 +04:30
parent 3522700605
commit 976e4c075b
39 changed files with 628 additions and 111 deletions
@@ -16,9 +16,9 @@ class CreateCyclesTable extends Migration
Schema::create('cycles', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name');
$table->string('unique_id');
$table->enum('result',['Pass', 'Fail']);
$table->text('description');
$table->date('date');
$table->string('sterilizer_id');
$table->text('note')->nullable();
$table->enum('verified',['Verified', 'NotVerified']);
$table->unsignedBigInteger('user_id');
$table->foreign('user_id')->references('id')->on('users');