You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
231 B
12 lines
231 B
4 years ago
|
|
||
|
### 改动不大
|
||
|
|
||
|
修改 sys_user 表索引为
|
||
|
|
||
|
### 1. 先删除 原有老索引
|
||
|
alter table sys_user drop index unique_username ;
|
||
|
|
||
|
### 2. 增加新索引
|
||
|
alter table sys_user add index `sys_user_index` (`username`,`real_name`);
|
||
|
|