path nullable

This commit is contained in:
2024-06-09 12:53:20 +07:00
parent fce657412e
commit 58740ece16

View File

@@ -16,7 +16,7 @@ return new class extends Migration
Schema::create('navigations', function (Blueprint $table) { Schema::create('navigations', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('title'); $table->string('title');
$table->string('path'); $table->string('path')->nullable();
$table->string('icon'); $table->string('icon');
$table->string('permission'); $table->string('permission');
$table->foreignId('parent_id'); $table->foreignId('parent_id');