update field pdf request log
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user