Fix chat folder migration

This commit is contained in:
Jamie
2025-11-06 12:26:46 -08:00
committed by GitHub
parent a0fc414361
commit fbffca4f8e
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import type { LoggerType } from '../../types/Logging.std.js';
import type { WritableDB } from '../Interface.std.js';
import { sql } from '../util.std.js';
export default function updateToSchemaVersion1500(
export default function updateToSchemaVersion1510(
db: WritableDB,
logger: LoggerType
): void {

View File

@@ -126,6 +126,7 @@ import updateToSchemaVersion1470 from './1470-kyber-triple.std.js';
import updateToSchemaVersion1480 from './1480-chat-folders-remove-duplicates.std.js';
import updateToSchemaVersion1490 from './1490-lowercase-notification-profiles.std.js';
import updateToSchemaVersion1500 from './1500-search-polls.std.js';
import updateToSchemaVersion1510 from './1510-chat-folders-normalize-all-chats.std.js';
import { DataWriter } from '../Server.node.js';
@@ -1610,6 +1611,7 @@ export const SCHEMA_VERSIONS: ReadonlyArray<SchemaUpdateType> = [
{ version: 1490, update: updateToSchemaVersion1490 },
{ version: 1500, update: updateToSchemaVersion1500 },
{ version: 1510, update: updateToSchemaVersion1510 },
];
export class DBVersionFromFutureError extends Error {