Commit 9ec57529 by 向延琳

去掉唯一索引

1 parent 42f68af2
...@@ -50,11 +50,10 @@ create table t_device_power ...@@ -50,11 +50,10 @@ create table t_device_power
created_date datetime null comment '创建时间|入库时间', created_date datetime null comment '创建时间|入库时间',
created_by int(11) null comment '创建人用户id', created_by int(11) null comment '创建人用户id',
updated_date datetime null comment '更新时间', updated_date datetime null comment '更新时间',
updated_by int(11) null comment '更新人用户id', updated_by int(11) null comment '更新人用户id'
constraint sn_uindex
unique (sn)
) )
comment '新e盾|设备电量表'; comment '新e盾|设备电量表';
ALTER TABLE `t_device_power` ALTER TABLE `t_device_power`
ADD INDEX idx_sn (`sn`); ADD INDEX idx_sn (`sn`);
ALTER TABLE `t_device_power` ALTER TABLE `t_device_power`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!