I’m evaluating the use of django for the migration of a SQLite database to Postgres.
The database was not created as a django project, but instead used for other applications.
I’m attempting to configure django to do routine migrations of various development SQLite databases to Postgres.
I continue to fail with regard django creating the json exports from SQLite.
I receive the following error:
CommandError: Unable to serialize database: no such table: django_admin_log
I have configured my database in settings.py
I have run python manage.py inspectdb > models.py for migration tips etc..
Perhaps I’m missing the preconfiguration steps etc…and looking for help.
Ben Patrick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.