xataio / pgroll

PostgreSQL zero-downtime migrations made easy
https://www.xata.io
Apache License 2.0
2.97k stars 54 forks source link

Support changing a column `DEFAULT` value #327

Closed andrew-farries closed 4 months ago

andrew-farries commented 5 months ago

Add support via the alter_column operation for changing a column's DEFAULT value.

This can be done with raw SQL, but it should also be supported as a versioned operation.