```go
type User struct {
ID uint `gorm:"primary_key;"`
Name string `gorm:"varchar(128);index:test;"`
Password string `gorm:"varchar(128);index:test"`
Tel string `gorm:"varchar(24);index:test"`
}
```
User表索引 test 用到3列,我如何决定列的顺序?
有疑问加站长微信联系(非本文作者)