Page 1 of 1

Invalid Foreign Key

Posted: Wed Apr 15, 2020 5:03 pm
by GreenTentacle
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 ?

Thanks !

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, <class 'django.db.utils.IntegrityError'>