This is because those tables exist in your database probably. And thus when you migrate it is showing error.
On Mon, 29 Jun 2020, 19:42 rishi kalsi, <savedataforrishi@gmail.com> wrote:
Hi,I am very new to Django or to web programming.Somehow i have learnt from Django documentation to create models.django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists
I have deleted my entire model due to the above mentioned errorafter deleting I ran makemigrations which was fine.but when i run migrate it gives this errordjango.db.utils.ProgrammingError: relation "ops_sightseeing" already exists
Please help me on this
Regards
Rishi
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/32eca0bd-4276-469c-9f3d-013a14c07049n%40googlegroups.com.
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGyqUuUVoVSf%2BafLLsviHrqs8HfUic3OJzr36nAVvAAAx-G_eA%40mail.gmail.com.
No comments:
Post a Comment