Clean story reply screenshot data

This commit is contained in:
trevor-signal 2023-08-21 15:36:58 -04:00 committed by GitHub
parent e5a9bf0f7c
commit bddf1f432d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 155 additions and 1 deletions

View file

@ -64,6 +64,7 @@ import updateToSchemaVersion85 from './85-add-kyber-keys';
import updateToSchemaVersion86 from './86-story-replies-index';
import updateToSchemaVersion88 from './88-service-ids';
import updateToSchemaVersion89 from './89-call-history';
import updateToSchemaVersion90 from './90-delete-story-reply-screenshot';
function updateToSchemaVersion1(
currentVersion: number,
@ -1999,6 +2000,7 @@ export const SCHEMA_VERSIONS = [
(_v: number, _i: Database, _l: LoggerType): void => undefined, // version 87 was dropped
updateToSchemaVersion88,
updateToSchemaVersion89,
updateToSchemaVersion90,
];
export function updateSchema(db: Database, logger: LoggerType): void {