This solution is if you need to move away from Parse and build your own backend. This tool allows you to quickly import data exported from Parse into a database supported by active record. Currently it expects the records to be pre-flattened by parse-migrator
See also
$ gem install parse-db-import
It's assumed that the database will exist so create the database if that's not the case
createdb sampledb
then
$ bundle exec parse-db-import --path [path] --dbname [database]
--adapter [postgresql] #(mysql, mysql2, postgresql or sqlite3 defaults to postgresql)
--dbuser [user] #(optional, will use current account)
--dbpassword [password] #(optional, will use current account)
--host [host] #(optional, will use 'localhost')
- Fork it ( https://github.com/[my-github-username]/parse-db-import/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request