Migration issue - Django Rest Framework
Budget: $30 – $250 SGD
Having issues with retaining old migrations on Django docker setup. Data in postgreSQL gets deleted everytime the models are changed when migration is run.
Also, when creating a user using the management command - it cannot be completed but the error message shows: "OperationalError: no such column: authentication_user.date_joined."
Lastly when migration is made, error message appears: "You are trying to add a non-nullable field 'user' to userprofile without a default;"
Looking for someone who is very experienced in migrations to give directions on what could be the issue and what could be done.
Also, when creating a user using the management command - it cannot be completed but the error message shows: "OperationalError: no such column: authentication_user.date_joined."
Lastly when migration is made, error message appears: "You are trying to add a non-nullable field 'user' to userprofile without a default;"
Looking for someone who is very experienced in migrations to give directions on what could be the issue and what could be done.