Skip to content

Commit

Permalink
⚡ add index on dict.name (elunez#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtune authored and elunez committed Jan 16, 2020
1 parent b0db5ca commit 06992e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/eladmin.sql
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ CREATE TABLE `dict` (
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典名称',
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
PRIMARY KEY (`id`) USING BTREE
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_name` (`name`)
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '数据字典' ROW_FORMAT = Compact;

-- ----------------------------
Expand Down

0 comments on commit 06992e0

Please sign in to comment.