diff --git a/database/migrations/2025_10_16_083000_add_indexes_to_magento_bulk_request_operations_table.php b/database/migrations/2025_10_16_083000_add_indexes_to_magento_bulk_request_operations_table.php new file mode 100644 index 0000000..eb1a9c1 --- /dev/null +++ b/database/migrations/2025_10_16_083000_add_indexes_to_magento_bulk_request_operations_table.php @@ -0,0 +1,24 @@ +index('status'); + $table->index(['status', 'created_at']); + }); + } + + public function down(): void + { + Schema::table('magento_bulk_request_operations', function (Blueprint $table): void { + $table->dropIndex(['status']); + $table->dropIndex(['status', 'created_at']); + }); + } +};