update field pdf request log

This commit is contained in:
2024-01-07 09:20:30 +07:00
parent 43991c1069
commit 0bc965f96e
2 changed files with 45 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ class RequestLog extends Model
'source',
'claim_id',
'organization_id',
'keterangan',
'hak_kamar_pasien',
'penempatan_kamar',
'catatan',
'no_identitas',
'code',
'approved_by',
'approved_at',

View File

@@ -0,0 +1,40 @@
<?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_logs', function (Blueprint $table) {
$table->string('keterangan')->after('organization_id')->default(null);
$table->string('hak_kamar_pasien')->after('keterangan')->default(null);
$table->string('penempatan_kamar')->after('hak_kamar_pasien')->default(null);
$table->string('catatan')->after('penempatan_kamar')->default(null);
$table->string('no_identitas')->after('catatan')->default(null);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('request_logs', function (Blueprint $table) {
$table->dropColumn('keterangan');
$table->dropColumn('hak_kamar_pasien');
$table->dropColumn('penempatan_kamar');
$table->dropColumn('catatan');
$table->dropColumn('no_identitas');
});
}
};