diff --git a/database/migrations/2023_08_29_173909_create_keywords_table.php b/database/migrations/2023_08_29_173909_create_keywords_table.php index 2379066..9ccacef 100644 --- a/database/migrations/2023_08_29_173909_create_keywords_table.php +++ b/database/migrations/2023_08_29_173909_create_keywords_table.php @@ -24,7 +24,7 @@ return new class extends Migration $table->unsignedBigInteger('parent_id')->default(0)->comment('上级ID'); $table->unsignedInteger('level')->default(1)->comment('层级'); $table->string('path')->default('-')->comment('所有的父级ID'); - $table->json('data')->nullable()->comment('扩展'); + $table->json('options')->nullable()->comment('扩展'); $table->timestamps(); }); }