BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
database
/
migrations
📤 Upload
📝 New File
📁 New Folder
Close
Editing: 2024_05_16_092520_create_menus_table.php
<?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::create('menus', function (Blueprint $table) { $table->id(); $table->unsignedInteger('parent_id')->nullable(); $table->string('key')->unique(); $table->string('route')->nullable(); $table->string('route_slug')->nullable(); $table->string('label')->nullable(); $table->string('icon')->nullable(); $table->text('svg')->nullable(); $table->integer('order')->default(0); $table->boolean('is_active')->default(true); $table->longText('params')->nullable(); $table->string('type')->nullable(); $table->string('extension')->nullable(); $table->boolean('letter_icon')->default(false)->nullable(); $table->string('letter_icon_bg')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('menus'); } };
Save
Cancel