HomeQuery LabExpressionsDocsDriversBlogStatusRoadmapChangelog GitHub

March 24, 2026 5 min read

QAIL v0.26.6: Migration Ordering and Policy Checks

v0.26.6 fixes strict migration ordering and policy verification semantics so drop-and-recreate flows apply cleanly in a single migration.

ReleaseMigrationsCLIRLSCorrectness

v0.26.6 is a correctness patch for migration apply behavior. It targets a real edge case: replacing policies inside the same migration file without spurious verification failures.

What Changed

                            drop policy tenant_contracts_policy on tenant_contracts

policy tenant_contracts_policy on tenant_contracts for all
  using $$ (is_super_admin() OR (principal_tenant_id = get_current_tenant_id())) $$
                        

Why This Matters

Many teams manage policy updates as replace operations in a single migration. Ordering and verification now match that intent: execute the destructive step first, then validate the final state after the full migration.

Release Notes

Migration verification should validate the intended end state, not fail on a transient intermediate step.
← Back to Blog