Save storage for defunct and pending call links

This commit is contained in:
ayumi-signal 2024-10-22 11:20:35 -07:00 committed by GitHub
parent a7be33b201
commit c6902ec26a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 474 additions and 31 deletions

View file

@ -100,10 +100,11 @@ import { updateToSchemaVersion1200 } from './1200-attachment-download-source-ind
import { updateToSchemaVersion1210 } from './1210-call-history-started-id';
import { updateToSchemaVersion1220 } from './1220-blob-sessions';
import { updateToSchemaVersion1230 } from './1230-call-links-admin-key-index';
import { updateToSchemaVersion1240 } from './1240-defunct-call-links-table';
import {
updateToSchemaVersion1240,
updateToSchemaVersion1250,
version as MAX_VERSION,
} from './1240-defunct-call-links-table';
} from './1250-defunct-call-links-storage';
function updateToSchemaVersion1(
currentVersion: number,
@ -2073,6 +2074,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion1220,
updateToSchemaVersion1230,
updateToSchemaVersion1240,
updateToSchemaVersion1250,
];
export class DBVersionFromFutureError extends Error {