Commit ae98bb8d by mic

feat: add new sql.

parent 912409c4
# TODO 当前索引需要升级为唯一索引
# TODO 当前索引需要升级为唯一索引
......@@ -9,3 +9,7 @@ alter table t_user_device_codes
alter table t_device
modify device_code varchar(400) null comment '设备编号';
# 系统序列号创建唯一索引
alter table t_user_device_codes
add constraint unique_system_device_serial_number
unique (system_device_serial_number);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment