feat(events): add exact_location field to events and update related logic

This commit is contained in:
2026-09-18 14:48:25 -03:00
parent 801d25b218
commit dc5134a6ec
7 changed files with 32 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('events', function (Blueprint $table): void {
$table->json('exact_location')->nullable()->after('location');
});
}
public function down(): void
{
Schema::table('events', function (Blueprint $table): void {
$table->dropColumn('exact_location');
});
}
};