New attachment storage system

This commit is contained in:
Fedor Indutny 2024-07-11 12:44:09 -07:00 committed by GitHub
parent 273e1ccb15
commit 28664a606f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
161 changed files with 2418 additions and 1562 deletions

View file

@ -85,10 +85,11 @@ import { updateToSchemaVersion1060 } from './1060-addressable-messages-and-sync-
import { updateToSchemaVersion1070 } from './1070-attachment-backup';
import { updateToSchemaVersion1080 } from './1080-nondisappearing-addressable';
import { updateToSchemaVersion1090 } from './1090-message-delete-indexes';
import { updateToSchemaVersion1100 } from './1100-optimize-mark-call-history-read-in-conversation';
import {
updateToSchemaVersion1100,
updateToSchemaVersion1110,
version as MAX_VERSION,
} from './1100-optimize-mark-call-history-read-in-conversation';
} from './1110-sticker-local-key';
function updateToSchemaVersion1(
currentVersion: number,
@ -2041,7 +2042,9 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1070,
updateToSchemaVersion1080,
updateToSchemaVersion1090,
updateToSchemaVersion1100,
updateToSchemaVersion1110,
];
export class DBVersionFromFutureError extends Error {