Skip to content

Commit 82ae455

Browse files
committed
修改迁移
1 parent 83dce82 commit 82ae455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/2021_06_02_192209_create_dict_type_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function up(): void
1515
$table->engine = 'InnoDB';
1616
$table->bigIncrements('dict_id')->comment('字典主键');
1717
$table->string('dict_name', 100)->comment('字典名称');
18-
$table->string('dict_name', 100)->comment('字典类型');
18+
$table->string('dict_type', 100)->comment('字典类型');
1919
$table->string('remark', 500)->comment('备注');
2020
$table->tinyInteger('status')->default('0')->comment('状态(0正常 1停用)');
2121
$table->unique('dict_type', 'dict_type');

0 commit comments

Comments
 (0)