This is a simple Ruby script that can be used in data migration between PostgreSQL databases.
- libpq headers
- pg gem >= 1.0
- Ruby (tested with 2.5.0, older versions may work)
gem install pg
or
bundle install
- Define the data mapping (see
configuration.yml.example
) - Run
ruby convert.rb
Issues and pull requests are welcome.