We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83dce82 commit 82ae455Copy full SHA for 82ae455
migrations/2021_06_02_192209_create_dict_type_table.php
@@ -15,7 +15,7 @@ public function up(): void
15
$table->engine = 'InnoDB';
16
$table->bigIncrements('dict_id')->comment('字典主键');
17
$table->string('dict_name', 100)->comment('字典名称');
18
- $table->string('dict_name', 100)->comment('字典类型');
+ $table->string('dict_type', 100)->comment('字典类型');
19
$table->string('remark', 500)->comment('备注');
20
$table->tinyInteger('status')->default('0')->comment('状态(0正常 1停用)');
21
$table->unique('dict_type', 'dict_type');
0 commit comments