Commit ac7a08fd by mercymodest

feat:- add sql

parent ae98bb8d
# TODO 当前索引需要升级为唯一索引
# TODO 当前索引需要升级为唯一索引
......@@ -7,9 +7,15 @@ alter table t_user_device_codes
modify device_name varchar(400) null comment '用户创建设备输入的设备名称';
alter table t_device
modify device_name varchar(400) null comment '设备名称';
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