-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(BA-760): Add scaling_group_name column to resource preset table #3718
base: main
Are you sure you want to change the base?
feat(BA-760): Add scaling_group_name column to resource preset table #3718
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
0553600
to
7523ea2
Compare
resource_preset_rows = relationship( | ||
"ResourcePresetRow", | ||
back_populates="scaling_group_row", | ||
primaryjoin="ScalingGroupRow.name == foreign(ResourcePresetRow.scaling_group_name)", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if you need to join based on the name, as it's not an ID value that needs to be joined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly, scaling_groups
table does not have id column and name
column is a primary key of it
7523ea2
to
30a689e
Compare
Co-authored-by: octodog <[email protected]>
resolves #3716 (BA-760)
Checklist: (if applicable)