Fix messages_unread index

This commit is contained in:
Scott Nonnenberg 2022-01-07 12:51:19 -08:00 committed by GitHub
parent fa8ff2ae4c
commit a17e157e7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 0 deletions

View file

@ -25,6 +25,7 @@ import updateToSchemaVersion46 from './46-optimize-stories';
import updateToSchemaVersion47 from './47-further-optimize';
import updateToSchemaVersion48 from './48-fix-user-initiated-index';
import updateToSchemaVersion49 from './49-fix-preview-index';
import updateToSchemaVersion50 from './50-fix-messages-unread-index';
function updateToSchemaVersion1(
currentVersion: number,
@ -1913,6 +1914,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion47,
updateToSchemaVersion48,
updateToSchemaVersion49,
updateToSchemaVersion50,
];
export function updateSchema(db: Database, logger: LoggerType): void {