mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
refactor: rename misc to tasks settings migration file and object.
This commit is contained in:
parent
356278fc87
commit
800ba30f4f
3 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import type { SchemaMigration } from '../migration.types';
|
||||
import { MoveSettingsFromMiscToTasks_v1v2 } from './v1-to-v2';
|
||||
import { MiscToTasksSettingsMigration_v1v2 } from './misc-to-tasks-settings-migration-v1-to-v2';
|
||||
|
||||
/**
|
||||
* Registry of all schema migrations.
|
||||
|
|
@ -26,4 +26,4 @@ import { MoveSettingsFromMiscToTasks_v1v2 } from './v1-to-v2';
|
|||
* }
|
||||
* ```
|
||||
*/
|
||||
export const MIGRATIONS: SchemaMigration[] = [MoveSettingsFromMiscToTasks_v1v2];
|
||||
export const MIGRATIONS: SchemaMigration[] = [MiscToTasksSettingsMigration_v1v2];
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ interface MultiEntityPayload {
|
|||
entityChanges?: unknown[];
|
||||
}
|
||||
|
||||
export const MoveSettingsFromMiscToTasks_v1v2: SchemaMigration = {
|
||||
export const MiscToTasksSettingsMigration_v1v2: SchemaMigration = {
|
||||
fromVersion: 1,
|
||||
toVersion: 2,
|
||||
description: 'Move settings from MiscConfig to TasksConfig.',
|
||||
Loading…
Add table
Add a link
Reference in a new issue