Skip to content
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

Changing constraints on cloud resource specifications tables to prevent extra rows #1511

Merged
merged 5 commits into from
Mar 16, 2021

Conversation

eiffel777
Copy link
Contributor

This PR changes the constraints on the modw_cloud.cloud_resource_specifications and modw_cloud.staging_resource_specifications tables to prevent there being more than one row for a host for a day. Previously, you could have two rows for a host on a day which would cause incorrect data and/or errors when trying to aggregate the cloud resource specifications data.

Motivation and Context

Preventing errors and incorrect data

Tests performed

Tested in docker. Both fresh install and the upgrade

Checklist:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

@eiffel777 eiffel777 added bug Bugfixes Category:Cloud Cloud Realm labels Mar 15, 2021
@eiffel777 eiffel777 added this to the 9.5.0 milestone Mar 15, 2021
@eiffel777 eiffel777 self-assigned this Mar 15, 2021
@eiffel777 eiffel777 merged commit dd98639 into ubccr:xdmod9.5 Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Cloud Cloud Realm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants