summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v14-to-v15.ts
blob: d2b58ab83ddd591b2f4f3bc6f46e0db578ce3078 (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 { transformProjectV14ToV15 } from "./transformers/v14-to-v15";

export class V14toV15Migration extends StorageMigration {
	from = 14;
	to = 15;

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