Techiio-author
Started by David HarrisonOct 5, 2021

Open
docker-compose error when deploying portainer

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I was deploying django with Portainer.

While deploying, the following error occurred in django image log.

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration account.0001_initial is applied before its dependency users.0001_initial on database 'default'.

I deleted the migrations file and tried to migrate again and deploy, but the same error occurred.

maybe I think the problem is probably caused by customizing the User model.

What should I do?

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance