Add embeddedIndexPrefix
in addition to embeddedPrefix
#5060
Labels
type:feature_request
feature request
embeddedIndexPrefix
in addition to embeddedPrefix
#5060
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.
The text was updated successfully, but these errors were encountered: