From ed0383173fa5bcd494cec1eec78ff0c2a605306c Mon Sep 17 00:00:00 2001 From: ivanwilliammd Date: Mon, 4 Nov 2024 10:13:21 +0700 Subject: [PATCH] added boolean default true --- database/migrations/create_kode_wilayah_indonesia_table.php.stub | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/create_kode_wilayah_indonesia_table.php.stub b/database/migrations/create_kode_wilayah_indonesia_table.php.stub index c4e13d4..54c5ce0 100644 --- a/database/migrations/create_kode_wilayah_indonesia_table.php.stub +++ b/database/migrations/create_kode_wilayah_indonesia_table.php.stub @@ -21,6 +21,7 @@ class CreateKodeWilayahIndonesiaTable extends Migration $table->string('nama_wilayah'); // Nama wilayah $table->string('parent')->nullable(); // Parent wilayah (kode - nama wilayah) $table->string('state')->nullable(); // State atau negara bagian + $table->boolean('active')->default(true); $table->timestamps(); }); }