Fix timestamp capping for storage service

This commit is contained in:
Fedor Indutny 2025-01-30 11:00:20 -08:00 committed by GitHub
parent 96f731270f
commit 24391af642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 141 additions and 7 deletions

View file

@ -106,10 +106,11 @@ import { updateToSchemaVersion1260 } from './1260-sync-tasks-rowid';
import { updateToSchemaVersion1270 } from './1270-normalize-messages';
import { updateToSchemaVersion1280 } from './1280-blob-unprocessed';
import { updateToSchemaVersion1290 } from './1290-int-unprocessed-source-device';
import { updateToSchemaVersion1300 } from './1300-sticker-pack-refs';
import {
updateToSchemaVersion1300,
updateToSchemaVersion1310,
version as MAX_VERSION,
} from './1300-sticker-pack-refs';
} from './1310-muted-fixup';
import { DataWriter } from '../Server';
function updateToSchemaVersion1(
@ -2087,6 +2088,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1290,
updateToSchemaVersion1300,
updateToSchemaVersion1310,
];
export class DBVersionFromFutureError extends Error {