Reverse scan for removals/deletions
bbenning opened this issue · comments
Bas Benning commented
It might be preferential when resources are deleted to afterwards remove both the creation and deletion script or maybe flag them or something, to be excluded when setting up a new environment.
Ernest Micklei commented
that is quite a challenge as it involves interpreting the scripts in each migration.
because the current state is represented by the last migration filename only, older files can be renamed but also removed without affecting infrastructure.
do you have other suggestions to achieve this?