summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v18-to-v19.ts
blob: d8fde7830fca0021d28c3c89f752b72aa49caaeb (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 { transformProjectV18ToV19 } from "./transformers/v18-to-v19";

export class V18toV19Migration extends StorageMigration {
	from = 18;
	to = 19;

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