1
0
Fork 0

更新 database/migrations/2023_08_29_173909_create_keywords_table.php

panliang 2023-12-01 09:43:50 +08:00
parent 0610bd20df
commit 9ecc48dfaf
1 changed files with 1 additions and 0 deletions

View File

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