Skip to content

Conversation

prandla
Copy link
Member

@prandla prandla commented Jul 5, 2025

Based on #1422, but with a completely custom comparator.

@prandla
Copy link
Member Author

prandla commented Jul 20, 2025

Converted it to an unit test instead of a separate testing step. (Initially I was afraid of doing this because it requires dropping and recreating the database multiple times, but then I realized that DatabaseMixin already does this, so implementing this as an unit test doesn't make the unit tests any more destructive than they already are.)

Also, here's what the output looks like in case of a mismatch (as an example, commenting out some lines of update_from_v1.5.sql):
image

@prandla prandla force-pushed the schema-diff branch 2 times, most recently from 9a18497 to 4d14e43 Compare August 5, 2025 15:25
@prandla prandla merged commit 5599c80 into cms-dev:main Aug 5, 2025
4 checks passed
@prandla prandla deleted the schema-diff branch August 12, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants