This commit is contained in:
edmondlang
2023-12-19 00:08:53 +08:00
parent 84e787f05e
commit e72e037ed4
@@ -14,27 +14,13 @@ class CreateIndexForTransactionTable extends Migration
public function up()
{
Schema::table('transactions', function (Blueprint $table) {
$table->index('owner_type');
$table->index('owner_id');
$table->index('status');
$table->index('type');
$table->index('issuer');
$table->index('receiver');
$table->index('recipient_bank_account_id');
$table->index('payment_method');
$table->index('payment_reference');
$table->index('bill_no');
$table->index('amount');
$table->index('original_amount');
$table->index('currency_id');
$table->index('original_currency_id');
$table->index('currency_rate');
$table->index('tax');
$table->index('service_charge');
$table->index('expires_on');
$table->index('status');
$table->index('deleted_at');
$table->index('created_at');
$table->index('updated_at');
$table->index('owner_type');
$table->index('owner_id');
});
}