Add index key of id_search_norujukan for transaction table
This commit is contained in:
@@ -19,7 +19,7 @@ class AddIndexToTransactionTable extends Migration
|
||||
$indexesFound = $schemaManager->listTableIndexes('transaction');
|
||||
|
||||
if (! array_key_exists('idx_search_norujukan', $indexesFound)) {
|
||||
$table->index(['created_at', 'trans_type', 'kodcaw'], 'idx_search_norujukan');
|
||||
$table->index(['norujukan', 'created_at', 'trans_type', 'kodcaw'], 'idx_search_norujukan');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user