From 7bf0984698e43b9aa2dd879f65951318ed410390 Mon Sep 17 00:00:00 2001 From: Maze <167211895+mazeincoding@users.noreply.github.com> Date: Sat, 31 Jan 2026 00:20:04 +0100 Subject: codebase overhaul (#697) --- apps/web/src/services/storage/migrations/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 apps/web/src/services/storage/migrations/index.ts (limited to 'apps/web/src/services/storage/migrations/index.ts') diff --git a/apps/web/src/services/storage/migrations/index.ts b/apps/web/src/services/storage/migrations/index.ts new file mode 100644 index 00000000..2343362f --- /dev/null +++ b/apps/web/src/services/storage/migrations/index.ts @@ -0,0 +1,14 @@ +export { StorageMigration } from "./base"; +export { StorageVersionManager } from "./version-manager"; +export { runStorageMigrations } from "./runner"; +import { V0toV1Migration } from "./v0-to-v1"; +import { V1toV2Migration } from "./v1-to-v2"; +import { V2toV3Migration } from "./v2-to-v3"; + +export const CURRENT_STORAGE_VERSION = 3; + +export const migrations = [ + new V0toV1Migration(), + new V1toV2Migration(), + new V2toV3Migration(), +]; -- cgit v1.3.1