Seaquel
SQLite error code

SQLITE_CORRUPT_SEQUENCE

SQLITE_CORRUPT_SEQUENCE is SQLite result code 523, an extended code of SQLITE_CORRUPT.

Result code523
NameSQLITE_CORRUPT_SEQUENCE
Primary codeSQLITE_CORRUPT

What it means

The SQLITE_CORRUPT_SEQUENCE result code means that the schema of the sqlite_sequence table is corrupt. The sqlite_sequence table is used to help implement the AUTOINCREMENT feature. The sqlite_sequence table should have the following format: CREATE TABLE sqlite_sequence(name,seq);

If SQLite discovers that the sqlite_sequence table has any other format, it returns the SQLITE_CORRUPT_SEQUENCE error.

Source: SQLite Result and Error Codes