xataio / pgroll

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

Refactor alter column suboperations #337

Closed andrew-farries closed 5 months ago

andrew-farries commented 5 months ago

Remove duplication between 'alter column' sub-operations. Pull:

up to the parent 'alter column' operation. This removes a lot of duplicated code from the sub-operations and will make it easier to support multiple sub-operations in one 'alter column' operation.

Part of #336