更新 database/migrations/2023_08_29_173909_create_keywords_table.php
parent
cf9a2f18df
commit
1b5d282363
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue