Invalid Foreign Key

When things don't work as they should.
Post Reply
Posts: 1
Joined: Wed Apr 15, 2020 4:59 pm

Invalid Foreign Key

Post 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'>
Post Reply