Invalid Foreign Key
Posted: Wed Apr 15, 2020 5:03 pm
Running in docker, SQLite DB, and getting this error after a recent docker-compose pull. Do I need to add something in to that table, or is this problem coming from somewhere else ?
Code: Select all
Running migrations: CommandError: Error during pre_upgrade signal: The row in table 'document_indexing_index_document_types' with primary key '1' has an invalid foreign key: document_indexing_index_document_types.index_id contains a value '1' that does not have a corresponding value in document_indexing_index__old.id., <class 'django.db.utils.IntegrityError'>