add rails db replication config