cs_db - RubyStarters/Ideas GitHub Wiki

sqlite3

Description

one file with the data

Positive

good for the start, transfer of the file together with code via git push/pull

Negative

not supported by heroku

postgresql

Description

database, required for heroku deployment, transfer of the data via database dump

Code

get data from heroku

heroku pg:backups capture curl -o latest.dump `heroku pg:backups public-url`

einspielen

pg_restore --verbose --clean --no-acl --no-owner -U sonja -d aocqa_development latest.dump

Source of information heroku

⚠️ **GitHub.com Fallback** ⚠️