Limit number of GV2 banned members

This commit is contained in:
Fedor Indutny
2022-03-23 15:34:51 -07:00
committed by GitHub
parent 6a671e73f9
commit c5a3ffddf9
9 changed files with 389 additions and 37 deletions

View File

@@ -28,6 +28,7 @@ import updateToSchemaVersion49 from './49-fix-preview-index';
import updateToSchemaVersion50 from './50-fix-messages-unread-index';
import updateToSchemaVersion51 from './51-centralize-conversation-jobs';
import updateToSchemaVersion52 from './52-optimize-stories';
import updateToSchemaVersion53 from './53-gv2-banned-members';
function updateToSchemaVersion1(
currentVersion: number,
@@ -1919,6 +1920,7 @@ export const SCHEMA_VERSIONS = [
updateToSchemaVersion50,
updateToSchemaVersion51,
updateToSchemaVersion52,
updateToSchemaVersion53,
];
export function updateSchema(db: Database, logger: LoggerType): void {