xataio / pgroll

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

Rewrite column `DEFAULT`s using the SQL transformer #332

Closed andrew-farries closed 5 months ago

andrew-farries commented 5 months ago

Use the SQL transformer added in #329 to rewrite or reject column DEFAULT values.

Column DEFAULT values are user-supplied SQL expressions that may need to be restricted or rewritten in some environments.