This commit is contained in:
2026-02-18 17:54:07 +08:00
parent 378b9bd71f
commit e679a9402f
11 changed files with 739 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ return new class extends Migration
$table->string('name')->comment('字典名称');
$table->string('code')->unique()->comment('字典编码');
$table->text('description')->nullable()->comment('字典描述');
$table->string('value_type')->default('string')->comment('值类型string, number, boolean, json');
$table->boolean('status')->default(true)->comment('状态');
$table->integer('sort')->default(0)->comment('排序');
$table->timestamps();