Skip to content
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

Add a checksum to bun_migrations #832

Open
antonydenyer opened this issue May 18, 2023 · 0 comments
Open

Add a checksum to bun_migrations #832

antonydenyer opened this issue May 18, 2023 · 0 comments

Comments

@antonydenyer
Copy link

Currently you can change migration files by mistake and they will not be run.
When applying a migration calculate a checksum of the file and add it to the bun_migrations table.

Add an addition db command check_applied to validate if the applied transactions match the checksums of the ones currently stored.

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