Skip to content

Commit

Permalink
[TM-1523] lint
Browse files Browse the repository at this point in the history
  • Loading branch information
egrojMonroy committed Nov 28, 2024
1 parent 57e8189 commit 8d14197
Showing 1 changed file with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
}
};

0 comments on commit 8d14197

Please sign in to comment.