Describe the feature

Currently, GORM supports embedding structs, which prepends a prefix to all COLUMN names. I'd like to be able to embed a struct and also utilize its indices.

Motivation

I'd like to also create multiple indices from the embedded struct, for each table, but keep all column names identical.

Comment From: ronisec

Any update on this?

Comment From: jinzhu

end up with https://github.com/go-gorm/gorm/pull/5269