Friday, May 22, 2015

Re: Migrating from sqllite3 to postgres

I will also have to do this in the near future (same reason), and already have some untested ideas. My guess is to add a second database in settings.DATABASES, fetch all the model instances from my original db and save them in the other. But if anyone has a better solution, let us know!

On 22 May 2015 09:19, "jaspinder singh" <jaspindersingh83@gmail.com> wrote:
I have developed an app using sqllite. But my Heroku doesn't support sqllite and the data keeps leaking every 24 hours. Can someone list the steps how to change from sqllite3 to postgres

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7fc71178-9609-42c2-8c39-e6c5d132ffdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBULGjE0OW3yCNZrRtOQS0JRXjryNGgLB7wzeuiATYSNS9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment