1
0
Fork 0

更新 database/migrations/2023_08_29_173909_create_keywords_table.php

panliang 2023-12-01 09:40:22 +08:00
parent cf9a2f18df
commit 1b5d282363
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ return new class extends Migration
$table->text('description')->nullable();
$table->text('content')->nullable();
$table->string('image')->nullable();
$table->unsignedInteger('sort')->default(0)->comment('排序(序)');
$table->unsignedInteger('sort')->default(0)->comment('排序(序)');
$table->unsignedBigInteger('parent_id')->default(0)->comment('上级ID');
$table->unsignedInteger('level')->default(1)->comment('层级');
$table->string('path')->default('-')->comment('所有的父级ID');