优化操作日志表结构

master
chenzhi 5 years ago
parent a44b8670b0
commit 518d2aa3f6

@ -1370,7 +1370,9 @@ CREATE TABLE `tab_operation_log` (
`admin_account` varchar(30) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '管理员账号',
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`op_ip` varchar(16) DEFAULT '0' COMMENT '登陆ip',
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
KEY `admin_id` (`admin_id`) USING BTREE,
KEY `op_type` (`op_type`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
-- 2020-02-25 chenzhi spend表索引优化

Loading…
Cancel
Save