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

🐛 Fix Homo sapiens casing #575

Merged
merged 2 commits into from
May 10, 2021
Merged

Conversation

liberaliscomputing
Copy link
Contributor

@liberaliscomputing liberaliscomputing commented May 4, 2021

This PR changes/migrates the species enum value of human from "Homo Sapiens" to "Homo sapiens".

@liberaliscomputing liberaliscomputing added the bug Something isn't working label May 4, 2021
@liberaliscomputing liberaliscomputing self-assigned this May 4, 2021
@liberaliscomputing liberaliscomputing force-pushed the fix-homo-sapiens-casing branch 4 times, most recently from ba712d5 to 6749308 Compare May 5, 2021 13:51
@liberaliscomputing liberaliscomputing force-pushed the fix-homo-sapiens-casing branch from 6749308 to 2876836 Compare May 10, 2021 19:22
@liberaliscomputing liberaliscomputing marked this pull request as ready for review May 10, 2021 19:31
Copy link
Contributor

@fiendish fiendish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

migrations/versions/12850dab14e9_.py Outdated Show resolved Hide resolved
depends_on = None


def upgrade():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, was this migration completely autogenerated from the change you made to the default for species? Or did you have to manually add the data migration code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did flask db revision and a template file populated with the followings was created:

revision = '12850dab14e9'
down_revision = '025cf1ee0adf'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I mean did you have to modify what came out of flask db migrate at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think anything does data migrations automatically

@liberaliscomputing liberaliscomputing force-pushed the fix-homo-sapiens-casing branch from 2876836 to 57e054d Compare May 10, 2021 20:33
@liberaliscomputing liberaliscomputing merged commit 97ea96d into master May 10, 2021
@liberaliscomputing liberaliscomputing deleted the fix-homo-sapiens-casing branch May 10, 2021 20:46
dankolbman added a commit that referenced this pull request Jun 3, 2021
## Release 1.13.1

### Summary

- Emojis: 🐛 x1
- Categories: Fixes x1

### New features and changes

- [#575](#575) - 🐛 Fix Homo sapiens casing - [97ea96d](97ea96d) by [liberaliscomputing](https://github.com/liberaliscomputing)
@dankolbman dankolbman mentioned this pull request Jun 3, 2021
alubneuski pushed a commit that referenced this pull request Oct 11, 2024
alubneuski pushed a commit that referenced this pull request Oct 11, 2024
## Release 1.13.1

### Summary

- Emojis: 🐛 x1
- Categories: Fixes x1

### New features and changes

- [#575](#575) - 🐛 Fix Homo sapiens casing - [97ea96d](97ea96d) by [liberaliscomputing](https://github.com/liberaliscomputing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants