Defining indexes on field from embedded struct #6076
pboguslawski
started this conversation in
General
Replies: 1 comment
-
When schema created by GORM from definition above already exists in DB, one may postprocess it with...
...to have unique index on Is such postprocessing a canonical solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Given...
...is it possible to create with GORM unique index for
ExternalID
column in table forItem
and not forExternalID
column in table forItemHistory
?Beta Was this translation helpful? Give feedback.
All reactions