diff --git a/database/migrations/2024_11_28_200341_add_index_to_site_polygon_poly_id.php b/database/migrations/2024_11_28_200341_add_index_to_site_polygon_poly_id.php index ab407368..e072dfaf 100644 --- a/database/migrations/2024_11_28_200341_add_index_to_site_polygon_poly_id.php +++ b/database/migrations/2024_11_28_200341_add_index_to_site_polygon_poly_id.php @@ -4,19 +4,18 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class extends Migration -{ - public function up(): void - { - Schema::table('site_polygon', function (Blueprint $table) { - $table->index('poly_id', 'idx_site_polygon_poly_id'); - }); - } +return new class extends Migration { + public function up(): void + { + Schema::table('site_polygon', function (Blueprint $table) { + $table->index('poly_id', 'idx_site_polygon_poly_id'); + }); + } - public function down(): void - { - Schema::table('site_polygon', function (Blueprint $table) { - $table->dropIndex('idx_site_polygon_poly_id'); - }); - } + public function down(): void + { + Schema::table('site_polygon', function (Blueprint $table) { + $table->dropIndex('idx_site_polygon_poly_id'); + }); + } };