ebean-orm / ebean-migration

DB Migration runner (similar to Flyway) which can be used standalone or with Ebean (run migrations on EbeanServer start)
Apache License 2.0
9 stars 5 forks source link

Add earlyChecksumMode, with automatic patching of legacy checksums #142

Closed rob-bygrave closed 1 year ago

rbygrave commented 1 year ago

if one of the migrations run into an error, then the migration may contain EARLY_MODE_CHECKSUM and recovering from such a situation would be more difficult.

Well, there would have to be multiple commits or implied commits AND there would have to be the desire to revert the checksums and go back to using "late mode checksums". Maybe we could make it easier to reset checksums though ... via a patchResetChecksumVersions=* or something like that (so with * as the versions, then patch the checksum on any versions that are mismatched).