Hello,
You need to remove file from migration folder.
If this doesn't work, check django_migration table in the database.
Regards
On Mon, 29 Jun 2020, 18:59 maninder singh Kumar, <maninder.s.kumar@gmail.com> wrote:
This could be a case for cleaning the database up. Is there kinda too much data in it, and which one is it ?--Normally when you use multiple databases, the routers could also cause the problemWithout knowing all this and the code, it might be difficult to take a decisionRegdsSent from my iPhoneThis 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.
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/346676BD-D5F3-4846-B74E-B938EC088A08%40gmail.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/CAGLHGi4ZjSDmrkjdBy2D0tsmgQRDsOBy6%2B%3Dd7i_-gf%2Bafz12Vg%40mail.gmail.com.
No comments:
Post a Comment