Forum: Ruby on Rails Rails 5 - db:environment:set

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
07d2448de26d55339f57153d303a4609?d=identicon&s=25 Douglas Teoh (Guest)
on 2016-07-07 07:03
(Received via mailing list)
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
`db:environment:set`
command.

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
find
any further information about this command in the upgrade guide or the
ActiveRecord changelog notes.
07d2448de26d55339f57153d303a4609?d=identicon&s=25 Douglas Teoh (Guest)
on 2016-07-07 08:57
(Received via mailing list)
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
production
DB:

http://blog.bigbinary.com/2016/06/07/rails-5-preve...
This topic is locked and can not be replied to.