Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RR::Initializer::run do |config|
- config.left = {
- :adapter => 'postgresql', # or 'mysql'
- :database => 'SCOTT',
- :username => 'scott',
- :password => 'tiger',
- :host => '172.16.1.1'
- }
- config.right = {
- :adapter => 'postgresql',
- :database => 'SCOTT',
- :username => 'scott',
- :password => 'tiger',
- :host => '172.16.1.2'
- }
- config.include_tables 'dept'
- config.include_tables /^e/ # regexp matching all tables starting with e
- # config.include_tables /./ # regexp matching all tables in the database
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement