Skip to content

Commit fbffca4

Browse files
Fix chat folder migration
1 parent a0fc414 commit fbffca4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ts/sql/migrations/1500-chat-folders-normalize-all-chats.std.ts renamed to ts/sql/migrations/1510-chat-folders-normalize-all-chats.std.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { LoggerType } from '../../types/Logging.std.js';
55
import type { WritableDB } from '../Interface.std.js';
66
import { sql } from '../util.std.js';
77

8-
export default function updateToSchemaVersion1500(
8+
export default function updateToSchemaVersion1510(
99
db: WritableDB,
1010
logger: LoggerType
1111
): void {

ts/sql/migrations/index.node.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ import updateToSchemaVersion1470 from './1470-kyber-triple.std.js';
126126
import updateToSchemaVersion1480 from './1480-chat-folders-remove-duplicates.std.js';
127127
import updateToSchemaVersion1490 from './1490-lowercase-notification-profiles.std.js';
128128
import updateToSchemaVersion1500 from './1500-search-polls.std.js';
129+
import updateToSchemaVersion1510 from './1510-chat-folders-normalize-all-chats.std.js';
129130

130131
import { DataWriter } from '../Server.node.js';
131132

@@ -1610,6 +1611,7 @@ export const SCHEMA_VERSIONS: ReadonlyArray<SchemaUpdateType> = [
16101611
{ version: 1490, update: updateToSchemaVersion1490 },
16111612

16121613
{ version: 1500, update: updateToSchemaVersion1500 },
1614+
{ version: 1510, update: updateToSchemaVersion1510 },
16131615
];
16141616

16151617
export class DBVersionFromFutureError extends Error {

0 commit comments

Comments
 (0)