Ruby on Rails Friday, May 31, 2019

In case anyone is interested in this,

According to @eileencodes it is possible to have multiple database with different structures in Rails 6. For this to work correctly the `migrations_paths` needs to be set for each database as below:

development:
  primary:
    migrations_paths: "db/migrate/primary"
  animals:
    migrations_paths: "db/migrate/animals"

There is an open issue to improve documentation for this https://github.com/rails/rails/issues/36205

Alexandru

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c19cb229-14fd-4370-bc88-b62d609e4fd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment