更新 database/migrations/2023_08_29_173909_create_keywords_table.php
parent
2313476493
commit
a8d6c45b65
|
|
@ -24,7 +24,7 @@ return new class extends Migration
|
||||||
$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('层级');
|
||||||
$table->string('path')->default('-')->comment('所有的父级ID');
|
$table->string('path')->default('-')->comment('所有的父级ID');
|
||||||
$table->json('data')->nullable()->comment('扩展');
|
$table->json('options')->nullable()->comment('扩展');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue