Skip to content

Check hashes of migration files to warn about accidental edits #3491

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

Open
sweatybridge opened this issue Apr 27, 2025 · 0 comments
Open

Check hashes of migration files to warn about accidental edits #3491

sweatybridge opened this issue Apr 27, 2025 · 0 comments

Comments

@sweatybridge
Copy link
Contributor

Is your feature request related to a problem? Please describe.
No warning is shown when user changed an already applied migration file.

Describe the solution you'd like
When running db push, we should check the hash of migration files to warn about cases where they deviate from remote history table.

Describe alternatives you've considered
Nil

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant