How to tell many2many to NOT change joinForeignKey #7109
Unanswered
ludovit-ubrezi
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello I have problem with joining 2 things with "join table"
I exactly wright joinForeignKey to be
MonitorID
but GORM converts it tomonitor_id
. Its frustrating and thinking about changing GORM to something other because i cant find anything in documentation to force using what i write there instead of GORM automatically change it to something else.So instead of this generated by GORM
maintenance_windows_monitors.monitor_id
i would get what i put there and it will look like thismaintenance_windows_monitors.MonitorID
Beta Was this translation helpful? Give feedback.
All reactions