fix database migrations to be added with delete and create

This commit is contained in:
Hafifie PKB
2025-03-15 18:09:40 +08:00
parent 2dd899372e
commit c328a0492f
4 changed files with 8 additions and 3 deletions
@@ -16,6 +16,7 @@ class CreateApprovalWithdrawal extends Migration
Schema::create('approval_withdrawal', function (Blueprint $table) {
$table->id();
$table->char('kodcaw', 20);
$table->string('action', 50);
$table->string('pc_name', 100);
$table->string('operasi_name', 100)->nullable();
$table->decimal('amount', 10, 2)->default(0);
@@ -3,6 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
class AddTimestampToGldetailTable extends Migration
{