diff --git a/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php b/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php index a1b97ff..e8de5f5 100644 --- a/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php +++ b/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php @@ -9,7 +9,7 @@ return new class extends Migration public function up(): void { Schema::table('customers', function (Blueprint $table) { - $table->integer('unpaid_total')->default(0)->change(); + $table->integer('unpaid_total')->default(0)->after('total')->change(); }); }