On Monday, April 21, 2014 9:53:21 AM UTC+1, Tommaso Visconti wrote:
>
> Hi all,
> I have more rails apps sharing the same database and this creates problems 
> with schema_migrations table.
> Do you know haw to customize that table name (so every app uses a 
> different one)? Or there's a better approach to this situation?
>

It looks like that table name is controlled by 
ActiveRecord::Base.schema_migrations_table_name. You might also be 
interested in the table_name_prefix setting which adds a prefix to all 
table names (including schema migrations) so that you can't have any clashes

Fred 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/eaab5771-0e8f-44b5-8bfd-d345daa7c0c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to