forked from jasondoucette/ar-dbcopy
-
Notifications
You must be signed in to change notification settings - Fork 0
Index
orangewolf edited this page Nov 4, 2012
·
4 revisions
Here are the instructions for getting this going.
git clone https://github.com/orangewolf/ar-dbcopy.git
cd ar-dbcopy
gem install activerecord-mysql2-adapter activerecord-postgresql-adapter debugger
source:
adapter: mysql2
encoding: utf8
reconnect: false
database: vnrscedo1_development
pool: 5
username: root
password:
socket: /tmp/mysql.sock
target:
adapter: postgresql
encoding: utf8
reconnect: false
database: vnrscedo2_development
pool: 5
username: rob
password:
host: localhost
port: 5432
bin/ar_dbcopy database.yml -c