change TestType & TestResult

This commit is contained in:
Fayyazi
2019-07-15 13:41:05 +04:30
parent d3735c6d30
commit 969f8b8b45
7 changed files with 91 additions and 35 deletions
@@ -16,9 +16,12 @@ class CreateTestResultsTable extends Migration
Schema::create('test_results', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('info');
$table->string('cycle_number');
$table->string('result');
$table->text('description');
$table->smallInteger('verified');
$table->string('device_id');
$table->string('device_label');
$table->integer('autoclave_id');
$table->unsignedBigInteger('user_id');
$table->foreign('user_id')->references('id')->on('users');