Repository navigation
v0.4.2: fix row-level security rollback
Patch release: the suggested rollback of a row-level security step now restores the previous state exactly.
npm install -g pgvouch@0.4.2
0.4.2
Fixed
The rollback of a row-level security step could leave the table forced. Plans set both RLS flags (on/off and forced) even when only one differed, so the suggested rollback flipped the other one too (e.g. turning RLS on, then rolling back, ended with FORCE ROW LEVEL SECURITY). A step now changes only the flags that differ, and its rollback restores the target's previous state exactly.
Full changelog: v0.4.1...v0.4.2