B
B
bbquite2021-11-16 14:30:36
Django
bbquite, 2021-11-16 14:30:36

What are the problems with django migrations?

There are no migration files in the project, the database is completely empty
When you try to execute python manage.py makemigrations: it gives -

django.db.utils.ProgrammingError: relation "config_baseconfig" does not exist

Of course it is not there, because the database is empty and there are no migrations. What to do with it?
Any manage.py commands (e.g. python manage.py showmigrations) throw this

db error ->
python manage.py dbshell

psql (12.2 (Ubuntu 12.2-4))
Type "help" for help.

test=> \dt
Did not find any relations.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maksam07, 2021-11-22
@maksam07

https://stackoverflow.com/questions/46696518/djang...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question