blob: e8f2765710e391bf00150cc3a18b67b81a15903c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { StorageMigration, type StorageMigrationRunArgs } from "./base";
import type { MigrationResult, ProjectRecord } from "./transformers/types";
import { transformProjectV4ToV5 } from "./transformers/v4-to-v5";
export class V4toV5Migration extends StorageMigration {
from = 4;
to = 5;
async run({
project,
}: StorageMigrationRunArgs): Promise<MigrationResult<ProjectRecord>> {
return transformProjectV4ToV5({ project });
}
}
|