feat(migration): tambah multi_account ke enum request_type
- Menambahkan nilai 'multi_account' ke enum request_type pada tabel print_statement_logs - Mendukung pemrosesan statement untuk multiple account sekaligus - Enum request_type sekarang mencakup: single_account, branch, all_branches, multi_account - Memungkinkan sistem untuk menangani berbagai jenis request statement - Meningkatkan fleksibilitas dalam pemrosesan batch statement
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('print_stetement_logs', function (Blueprint $table) {
|
||||
$table->enum('request_type', ['multi_account'])->change();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('print_stetement_logs', function (Blueprint $table) {
|
||||
$table->enum('request_type', ['single_account', 'branch', 'all_branch'])->change();
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user