Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Skip AddColumn check on Postgres 11 and up #40

Open
jsteiner opened this issue Jun 14, 2019 · 0 comments
Open

Skip AddColumn check on Postgres 11 and up #40

jsteiner opened this issue Jun 14, 2019 · 0 comments

Comments

@jsteiner
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant