From e72e037ed4d430ece2a4213122e9f7c7acf4c155 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Tue, 19 Dec 2023 00:08:53 +0800 Subject: [PATCH] revert --- ...408_create_index_for_transaction_table.php | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) 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'); }); }