From a8d6c45b65c69c621708ddd33ede80663eba02e6 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Sun, 8 Oct 2023 15:17:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20database/migrations/2023?= =?UTF-8?q?=5F08=5F29=5F173909=5Fcreate=5Fkeywords=5Ftable.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/migrations/2023_08_29_173909_create_keywords_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }