Rails 5 - db:environment:set

I am in the process of upgrading an app to Rails 5. One thing that I
stumbled on while recreating my test database was the

From what I can see, this makes a table named internal_metadata and
stores an environment value.

Is running this command on all existing databases required? I cannot
any further information about this command in the upgrade guide or the
ActiveRecord changelog notes.

On Thursday, July 7, 2016 at 2:02:01 PM UTC+9, Douglas Teoh wrote:

ActiveRecord changelog notes.

Looks like this is for preventing accidental destruction of the


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs