Issue
My DB is Postgres and Code in Django, I live a project daily but I want old DB in a new project which has only just some updates in it but If I don't Update it It shows migration error and if I use --fake then on that page it will show similar error 'Programming Error Column Does Not Exist' I tried each and every way pls help me. Thanks
Solution
After trying for many days I notice that there are errors in fields not matching so I just replace or update my old project models.py to my new project models.py and make migrations and migrate again and then I go to my new project and I run migrate and it runs correctly.
Answered By - Proud Wadhwa
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.