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

Remove PK constraint from station_obs_stats_mv #121

Merged
merged 1 commit into from
Jan 29, 2022

Conversation

rod-glover
Copy link
Contributor

@rod-glover rod-glover commented Jan 29, 2022

Resolves #120

Removes the PK constraint from the table creation in the initial migration. It is not required in the database, although a PK is required in the ORM. So we have a slight inconsistency due to the demands of SQLAlchemy for a PK to be defined for every table.

@rod-glover rod-glover merged commit 4d0d336 into master Jan 29, 2022
@rod-glover rod-glover deleted the i120-SOS-pk-constraint branch January 29, 2022 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migration: Move StationObservationStats PK constraint to history_id
1 participant