Search code examples
ruby-on-railsrubypostgresqlpgcrypto

Ruby on Rails + Postgres Migration removing enable_extension "pgcrypto" from schema.rb on every db:migrate


This line is being removed from my schema.rb file every time I migrate;

enable_extension "pgcrypto"

... but I have no idea why! No where am I dropping the extension and there is a migration that adds it very early in the stack of migrations (months ago).

This just started, and I have changed/updated nothing.

Thoughts?


Solution

  • See Sachin Singh's comment. This helped me to figure it out.