summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v24-to-v25.ts
blob: 5190b1292a707acd9422a8a2a0e8e3615023786e (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 { transformProjectV24ToV25 } from "./transformers/v24-to-v25";

export class V24toV25Migration extends StorageMigration {
	from = 24;
	to = 25;

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