fix(migration): tambahkan index pada tabel cities

- Menambahkan index pada kolom 'province_code' dan 'code' untuk meningkatkan performa query.
This commit is contained in:
Daeng Deni Mardaeni
2025-04-27 12:13:07 +07:00
parent 4502f9a298
commit 0be26178ff

View File

@@ -21,6 +21,8 @@ return new class extends Migration
$table->uuid('created_by')->nullable();
$table->uuid('updated_by')->nullable();
$table->uuid('deleted_by')->nullable();
$table->index(['province_code','code']);
});
}