Optimize updating call unread count

This commit is contained in:
Jamie Kyle 2024-08-22 11:12:25 -07:00 committed by GitHub
parent 67252866cf
commit c901708281
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 48 additions and 5 deletions

View file

@ -91,10 +91,11 @@ import { updateToSchemaVersion1110 } from './1110-sticker-local-key';
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 {
updateToSchemaVersion1150,
updateToSchemaVersion1160,
version as MAX_VERSION,
} from './1150-expire-timer-version';
} from './1160-optimize-calls-unread-count';
function updateToSchemaVersion1(
currentVersion: number,
@ -2054,6 +2055,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1130,
updateToSchemaVersion1140,
updateToSchemaVersion1150,
updateToSchemaVersion1160,
];
export class DBVersionFromFutureError extends Error {