Skip to content

Conversation

@piercefreeman
Copy link
Owner

@piercefreeman piercefreeman commented Dec 23, 2025

This PR adds a new connection.magic_migrate() command that will poll the current database for its migration status, then auto-generate a forward migration that can resolve the current db values.

This should only be done for local debugging where generating a migration file yourself each time is cumbersome, or perhaps for local deployment cases where you're trying to spin up an internal tool locally and trying to treat postgres closer to something like sqlite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants