mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
Fix chat folder migration
This commit is contained in:
@@ -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 {
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user