S
S
SHADRIN2019-03-18 23:33:13
SQLite
SHADRIN, 2019-03-18 23:33:13

Heroku, how to unload the database from it?

How to upload a database from Heroku? My database is a file that I uploaded to it, but I can’t upload it back (
I uploaded it via GitHib, I thought it would change there, but no.
What should I do? Otherwise, changes occur in the database, but I can’t download

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2019-03-19
@2ord

How to upload a modified file from Heroku?

In Heroku, the data inside the container is kept until it is restarted.
You need to use other DBMS provided as addons.

https://devcenter.heroku.com/articles/sqlite3
You can write to it, and you can read from it, but the contents will be cleared periodically. If you were to use SQLite on Heroku, you would lose your entire database at least once every 24 hours .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question