finishing part 1

This commit is contained in:
korospace
2023-10-28 19:00:04 +07:00
parent b6095f1301
commit b76a9b56f0
17 changed files with 840 additions and 34 deletions

View File

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('laboratorium_result', function (Blueprint $table) {
$table->bigIncrements('id');
$table->integer('claim_id');
$table->string('date');
$table->text('location');
$table->text('examination');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('laboratorium_result');
}
};