mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-29 01:13:59 +00:00
Laravel Vapor - New index for admin /customers page
This commit is contained in:
@@ -14,7 +14,6 @@ class AddIndexToTransactions extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('transactions', function (Blueprint $table) {
|
||||
// Create the composite index
|
||||
$table->index(['owner_id', 'owner_type', 'created_at', 'status'], 'idx_transactions_owner_date_status');
|
||||
});
|
||||
}
|
||||
@@ -27,7 +26,6 @@ class AddIndexToTransactions extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('transactions', function (Blueprint $table) {
|
||||
// Drop the index
|
||||
$table->dropIndex('idx_transactions_owner_date_status');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user