Rebuild testing harness
Currently the testing setup is quite hit & miss with hardcoded strings that we check the output against. Ideally generated migrations should be tested against actual databases!
-
Create a generic CLI that can output migration SQL for any provided rust migration code -
Create test migrations as files -
Spin up docker containers for each of the databases -
Create a diff mechanism to compare before/after snapshots of the database