elasticsearch-evolution icon indicating copy to clipboard operation
elasticsearch-evolution copied to clipboard

Detect modified migration scripts

Open felixkrull-neuland opened this issue 2 years ago • 0 comments

When comparing the local migration scripts with the record of already the executed scripts, the library should be able to detect if an already-executed script was modified afterwards, and raise an error. Given that checksums of the scripts are calculated and stored, I was surprised that this wasn't already being checked. I'm not that familiar with Flyway, but the Play Framework's evolutions module does verify the checksum.

Is this an intentional design choice? If not, I'd change it and open a PR.

felixkrull-neuland avatar Sep 16 '22 10:09 felixkrull-neuland