fix(migration): tambahkan index pada tabel cities
- Menambahkan index pada kolom 'province_code' dan 'code' untuk meningkatkan performa query.
This commit is contained in:
@@ -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']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user