Re: Problem with migrations order

2020-03-24 Thread Yves de Champlain
Hi Thanks for your answer. Actually, I'm working on a clean migrate : find . -path "*/migrations/*.py" -not -name "__init__.py" -not -path "./data/*" -delete find . -path "*/migrations/*.pyc" -delete psql -U postgres $DB_NAME < > make sure you tell django that you have make changes the by ru

Re: Problem with migrations order

2020-03-24 Thread Akinfolarin Stephen
make sure you tell django that you have make changes the by running this python manage.py makemigrations after that enter python manage.py migrate it will automatically update your database On Tuesday, March 24, 2020 at 7:36:31 PM UTC+14, Yves de Champlain wrote: > > Hi > > I added a new app 'po

Problem with migrations order

2020-03-23 Thread Yves de Champlain
Hi I added a new app 'portfolio' in my project, but since then migrations won't work anymore because Django seems to be trying to do them in the wrong order. *Running migrations:* Applying core.0001_initial...* OK* Applying contenttypes.0001_initial...* OK* Applying contenttypes.0002_remove_