Further improvements for backup import/export

This commit is contained in:
Fedor Indutny 2024-09-18 22:26:52 -07:00 committed by GitHub
parent b9cd858ec7
commit d5f44c1b8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 539 additions and 201 deletions

View file

@ -96,10 +96,11 @@ import { updateToSchemaVersion1160 } from './1160-optimize-calls-unread-count';
import { updateToSchemaVersion1170 } from './1170-update-call-history-unread-index';
import { updateToSchemaVersion1180 } from './1180-add-attachment-download-source';
import { updateToSchemaVersion1190 } from './1190-call-links-storage';
import { updateToSchemaVersion1200 } from './1200-attachment-download-source-index';
import {
updateToSchemaVersion1200,
updateToSchemaVersion1210,
version as MAX_VERSION,
} from './1200-attachment-download-source-index';
} from './1210-call-history-started-id';
function updateToSchemaVersion1(
currentVersion: number,
@ -2063,7 +2064,9 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1170,
updateToSchemaVersion1180,
updateToSchemaVersion1190,
updateToSchemaVersion1200,
updateToSchemaVersion1210,
];
export class DBVersionFromFutureError extends Error {