diff --git a/database/migrations/2023_12_18_230408_create_index_for_transaction_table.php b/database/migrations/2023_12_18_230408_create_index_for_transaction_table.php index 12824131..e343589f 100644 --- a/database/migrations/2023_12_18_230408_create_index_for_transaction_table.php +++ b/database/migrations/2023_12_18_230408_create_index_for_transaction_table.php @@ -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'); }); }