diff --git a/database/migrations/2025_09_16_104604_create_users_deleted_at_location_id_index.php b/database/migrations/2025_09_16_104604_create_users_deleted_at_location_id_index.php new file mode 100644 index 0000000000..05b8474a4b --- /dev/null +++ b/database/migrations/2025_09_16_104604_create_users_deleted_at_location_id_index.php @@ -0,0 +1,31 @@ +index(['deleted_at','location_id']); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropIndex(['deleted_at','location_id']); + }); + } +};