Implement HomeController, update home route, and enhance menu components with close functionality

This commit is contained in:
pacnpal
2025-02-25 16:49:45 -05:00
parent b4462ba89e
commit 8951e59f49
14 changed files with 511 additions and 233 deletions

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('park_areas', function (Blueprint $table) {
$table->string('type')->default('attraction')->after('name');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('park_areas', function (Blueprint $table) {
$table->dropColumn('type');
});
}
};