Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrations cannot be edited #1820

Open
vemv opened this issue Mar 7, 2024 · 0 comments
Open

Migrations cannot be edited #1820

vemv opened this issue Mar 7, 2024 · 0 comments

Comments

@vemv
Copy link
Collaborator

vemv commented Mar 7, 2024

Problem

If one does any innocent edit to a past (applied) migration, it will fail on production.

This is because of the migration content hashing going on here https://github.com/duct-framework/migrator.ragtime/blob/33077e77c4987b256a4bee76ed64d76c5b845887/src/duct/migrator/ragtime.clj#L63

Solution

Fork the code and get rid of the stringent check.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant