Introduce versioning clock to timer system

This commit is contained in:
Fedor Indutny 2024-08-21 09:03:28 -07:00 committed by GitHub
parent bb1d957e49
commit 2fb50df0af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 703 additions and 28 deletions

View file

@ -90,10 +90,11 @@ import { updateToSchemaVersion1100 } from './1100-optimize-mark-call-history-rea
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 {
updateToSchemaVersion1140,
updateToSchemaVersion1150,
version as MAX_VERSION,
} from './1140-call-links-deleted-column';
} from './1150-expire-timer-version';
function updateToSchemaVersion1(
currentVersion: number,
@ -2052,6 +2053,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1120,
updateToSchemaVersion1130,
updateToSchemaVersion1140,
updateToSchemaVersion1150,
];
export class DBVersionFromFutureError extends Error {