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 latest migration not affecting GoodJob.migrated? #1345

Conversation

Earlopain
Copy link
Contributor

The test did not catch this because the migration in the generator migration folder is named incorrectly: it will not be the last migration generated and as such the test just checks that the previous migration was handled (which it is).

I also added a test that ensures that future migrations are named correctly: They must have a unique number prefix. This test fails when the renaming is undone since the prefix 10 is used two times.

@Earlopain Earlopain force-pushed the update-migrated-check-with-latest-migration branch from 37f2c2e to fd00081 Compare April 30, 2024 09:48
@bensheldon
Copy link
Owner

Thanks for catching this! And sorry about the delay; just got back from vacation 🌴

@bensheldon bensheldon added the bug Something isn't working label May 18, 2024
@bensheldon bensheldon merged commit 37ebc59 into bensheldon:main May 18, 2024
21 checks passed
@Earlopain Earlopain deleted the update-migrated-check-with-latest-migration branch May 19, 2024 16:14
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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants