summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v25-to-v26.ts
blob: 8674d84b0598fd29c53c188de8f85be0579d25c5 (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 { transformProjectV25ToV26 } from "./transformers/v25-to-v26";

export class V25toV26Migration extends StorageMigration {
	from = 25;
	to = 26;

	async run({
		project,
	}: StorageMigrationRunArgs): Promise<MigrationResult<ProjectRecord>> {
		return transformProjectV25ToV26({ project });
	}
}