summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v28-to-v29.ts
blob: a2e75ec0c6dc004be022fa206395feb6b73cc655 (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 { transformProjectV28ToV29 } from "./transformers/v28-to-v29";

export class V28toV29Migration extends StorageMigration {
	from = 28;
	to = 29;

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