Merge remote-tracking branch 'origin/staging' into origin/production

This commit is contained in:
Linksehat Staging Server
2024-01-07 13:04:11 +07:00
9 changed files with 188 additions and 14 deletions

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');
});
}
};