tambah field payment type

This commit is contained in:
2023-06-09 15:11:44 +07:00
parent 3a8a7438ba
commit 40d4500651

View File

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