update colom service code, policy id dan claim reques

This commit is contained in:
2023-06-09 15:17:39 +07:00
parent 40d4500651
commit cbc7dfdb99

View File

@@ -0,0 +1,36 @@
<?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('claim_requests', function (Blueprint $table) {
//
$table->string('service_code')->after('payment_type')->nullable();
$table->string('policy_id')->after('service_code')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('claim_requests', function (Blueprint $table) {
//
$table->dropColumn('service_code');
$table->dropColumn('policy_id');
});
}
};