Commit 321ce39c by tyfanchz

增加表索引

1 parent 8c3879bb
......@@ -57,7 +57,7 @@ CREATE TABLE `t_platform_device`
) ENGINE = InnoDB AUTO_INCREMENT = 1 DEFAULT CHARSET = utf8mb4 COMMENT ='设备管理表';
CREATE INDEX idx_get_list
ON t_platform_device (device_sn,device_type,activat_time,`status`,customer_id)
ON t_platform_device (device_sn,device_type,create_time,`status`,customer_id)
COMMENT '设备列表查询索引';
DROP TABLE IF EXISTS `t_platform_user`;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!