blob: b825bfc1f018fe363378188eb246ce3b6f3c5973 (
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 { transformProjectV2ToV3 } from "./transformers/v2-to-v3";
export class V2toV3Migration extends StorageMigration {
from = 2;
to = 3;
async run({
project,
}: StorageMigrationRunArgs): Promise<MigrationResult<ProjectRecord>> {
return transformProjectV2ToV3({ project });
}
}
|