-
Notifications
You must be signed in to change notification settings - Fork 415
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: add reverse sql to versioning migration #4491
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Docker builds report
|
test_settings.SKIP_MIGRATION_TESTS is True, | ||
reason="Skip migration tests to speed up tests where necessary", | ||
) | ||
def test_create_whitelisted_segments_migration( |
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.
Hmm... this test was not modified. The diff is showing that a file was deleted / created vs the renaming action that actually happened. This test function does not need to be reviewed.
Uffizzi Preview |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4491 +/- ##
=======================================
Coverage 96.91% 96.91%
=======================================
Files 1176 1176
Lines 39349 39403 +54
=======================================
+ Hits 38135 38189 +54
Misses 1214 1214 ☔ View full report in Codecov by Sentry. |
Changes
This fixes a previously added migration to include a reverse script to ensure that duplicate segments are not shown after a rollback due to the versioning system added past this point.
How did you test this code?
Added 2 new migration tests and tested the sql script manually on my local database.