Skip to content

Allows you to quickly import data exported from Parse into a database supported by active record.

License

Notifications You must be signed in to change notification settings

JohnMorales/parse-db-import

Repository files navigation

parse-db-import

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

Installation

    $ gem install parse-db-import

Usage

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]

Other options

 --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')

Contributing

  1. Fork it ( https://github.com/[my-github-username]/parse-db-import/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Allows you to quickly import data exported from Parse into a database supported by active record.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages