diff --git a/database/migrations/2026_09_01_091000_add_email_index_to_companies_table.php b/database/migrations/2026_09_01_091000_add_email_index_to_companies_table.php new file mode 100644 index 00000000..4bd8c3d3 --- /dev/null +++ b/database/migrations/2026_09_01_091000_add_email_index_to_companies_table.php @@ -0,0 +1,46 @@ +index('email', 'companies_email_idx'); + }); + } + } + + public function down(): void + { + Schema::table('companies', function (Blueprint $table) { + $table->dropIndex('companies_email_idx'); + }); + } +};