blob: 710618556725fb3d510d694d29b8247364de3e25 (
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 { transformProjectV5ToV6 } from "./transformers/v5-to-v6";
export class V5toV6Migration extends StorageMigration {
from = 5;
to = 6;
async run({
project,
}: StorageMigrationRunArgs): Promise<MigrationResult<ProjectRecord>> {
return transformProjectV5ToV6({ project });
}
}
|