Fix call history read syncs

This commit is contained in:
Jamie Kyle 2024-08-27 06:20:23 -07:00 committed by GitHub
parent 688de5a99b
commit 5a5b681b51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 187 additions and 46 deletions

View file

@ -92,10 +92,11 @@ import { updateToSchemaVersion1120 } from './1120-messages-foreign-keys-indexes'
import { updateToSchemaVersion1130 } from './1130-isStory-index';
import { updateToSchemaVersion1140 } from './1140-call-links-deleted-column';
import { updateToSchemaVersion1150 } from './1150-expire-timer-version';
import { updateToSchemaVersion1160 } from './1160-optimize-calls-unread-count';
import {
updateToSchemaVersion1160,
updateToSchemaVersion1170,
version as MAX_VERSION,
} from './1160-optimize-calls-unread-count';
} from './1170-update-call-history-unread-index';
function updateToSchemaVersion1(
currentVersion: number,
@ -2056,6 +2057,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1140,
updateToSchemaVersion1150,
updateToSchemaVersion1160,
updateToSchemaVersion1170,
];
export class DBVersionFromFutureError extends Error {