summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v14-to-v15.ts
blob: 5c3a60cfb9375f1cec72e93282ee65a1b1352773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { StorageMigration } from "./base";
import type { ProjectRecord } from "./transformers/types";
import { transformProjectV14ToV15 } from "./transformers/v14-to-v15";

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

	async transform(project: ProjectRecord): Promise<{
		project: ProjectRecord;
		skipped: boolean;
		reason?: string;
	}> {
		return transformProjectV14ToV15({ project });
	}
}