Deduplicate usernames

This commit is contained in:
trevor-signal
2025-12-11 15:53:43 -05:00
committed by GitHub
parent 711b27917f
commit 66837d0c2b
9 changed files with 280 additions and 10 deletions

View File

@@ -136,6 +136,7 @@ import updateToSchemaVersion1561 from './1561-cleanup-polls.std.js';
import updateToSchemaVersion1570 from './1570-pinned-messages-updates.std.js';
import updateToSchemaVersion1580 from './1580-expired-group-replies.std.js';
import updateToSchemaVersion1590 from './1590-megaphones.std.js';
import updateToSchemaVersion1600 from './1600-deduplicate-usernames.std.js';
import { DataWriter } from '../Server.node.js';
@@ -1631,6 +1632,7 @@ export const SCHEMA_VERSIONS: ReadonlyArray<SchemaUpdateType> = [
{ version: 1570, update: updateToSchemaVersion1570 },
{ version: 1580, update: updateToSchemaVersion1580 },
{ version: 1590, update: updateToSchemaVersion1590 },
{ version: 1600, update: updateToSchemaVersion1600 },
];
export class DBVersionFromFutureError extends Error {