As we setup our rails environment we added the following to our schema.rb
:
enable_extension "plpgsql"
enable_extension "pg_trgm"
As we move to prod the reality is that enabling those extensions requires a super user. How do people handle this kind of migration in Prod? Is it done separate from the schema.rb
?
And if it is done separate how do you handle it in tests? Just not sure where to go with this...