view, search dan tambah daily monitoring
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?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::table('request_log_daily_monitorings', function (Blueprint $table) {
|
||||
$table->string('doctor_1')->after('examination')->nullable();
|
||||
$table->string('doctor_2')->after('doctor_1')->nullable();
|
||||
$table->string('approval_pendamping')->after('doctor_2')->nullable();
|
||||
$table->text('description')->after('approval_pendamping')->nullable();
|
||||
$table->text('note')->after('description')->nullable();
|
||||
$table->string('temp_diagnosis')->after('note')->nullable();
|
||||
$table->string('final_diagnosis')->after('temp_diagnosis')->nullable();
|
||||
$table->string('status')->after('final_diagnosis')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('request_log_daily_monitorings', function (Blueprint $table) {
|
||||
$table->dropColumn('doctor_1');
|
||||
$table->dropColumn('doctor_2');
|
||||
$table->dropColumn('description');
|
||||
$table->dropColumn('note');
|
||||
$table->dropColumn('temp_diagnosis');
|
||||
$table->dropColumn('final_diagnosis');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user