From f11adef938c23c3e8f8f9f1c032d56557d5600f2 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Thu, 7 Nov 2024 07:16:04 +0800 Subject: [PATCH] Laravel Vapor - Fix a problem on downloading Wallet Transaction History --- ..._reference_index_to_transactions_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2024_11_07_071500_add_payment_reference_index_to_transactions_table.php diff --git a/database/migrations/2024_11_07_071500_add_payment_reference_index_to_transactions_table.php b/database/migrations/2024_11_07_071500_add_payment_reference_index_to_transactions_table.php new file mode 100644 index 00000000..eb0d26aa --- /dev/null +++ b/database/migrations/2024_11_07_071500_add_payment_reference_index_to_transactions_table.php @@ -0,0 +1,32 @@ +index('payment_reference', 'idx_transactions_payment_reference'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('transactions', function (Blueprint $table) { + $table->dropIndex('idx_transactions_payment_reference'); + }); + } +}