summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/v23-to-v24.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/services/storage/migrations/v23-to-v24.ts')
-rw-r--r--apps/web/src/services/storage/migrations/v23-to-v24.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/web/src/services/storage/migrations/v23-to-v24.ts b/apps/web/src/services/storage/migrations/v23-to-v24.ts
new file mode 100644
index 00000000..fe952bb1
--- /dev/null
+++ b/apps/web/src/services/storage/migrations/v23-to-v24.ts
@@ -0,0 +1,16 @@
+import { StorageMigration } from "./base";
+import type { ProjectRecord } from "./transformers/types";
+import { transformProjectV23ToV24 } from "./transformers/v23-to-v24";
+
+export class V23toV24Migration extends StorageMigration {
+ from = 23;
+ to = 24;
+
+ async transform(project: ProjectRecord): Promise<{
+ project: ProjectRecord;
+ skipped: boolean;
+ reason?: string;
+ }> {
+ return transformProjectV23ToV24({ project });
+ }
+}