zero_downtime_migrations icon indicating copy to clipboard operation
zero_downtime_migrations copied to clipboard

Skip AddColumn check on Postgres 11 and up

Open jsteiner opened this issue 5 years ago • 0 comments

As of Postgres 11, it is safe to add new column with a default value.

I think we could add a conditional here and skip this check if the database is Postgres 11 or higher:

https://github.com/LendingHome/zero_downtime_migrations/blob/master/lib/zero_downtime_migrations/validation/add_column.rb

jsteiner avatar Jun 14 '19 15:06 jsteiner