pgschema icon indicating copy to clipboard operation
pgschema copied to clipboard

Support zero-downtime schema migrations

Open TarekAS opened this issue 8 months ago • 1 comments

I'm evaluating pgschema vs. pgroll which promises zero-downtime (and safe rollback) migrations by using virtual schemas. But in the case of pgroll I would have to manually construct the migration as JSON files for the operations to be done.

I would much rather have the plan -> apply workflow of pgschema, but it would be even better if it were to offer the same guarantees as pgroll so that the choice between the two becomes even easier.

TarekAS avatar Mar 23 '26 23:03 TarekAS

pgschema online DDL is rewriting the SQL, it doesn't use virtual schemas.

https://www.pgschema.com/workflow/online-ddl

tianzhou avatar Mar 24 '26 03:03 tianzhou