make storage versioning per-project + few other refactors

This commit is contained in:
Maze Winther
2026-02-05 12:53:56 +01:00
parent 490fc170c0
commit 2257ca2e6f
17 changed files with 301 additions and 540 deletions
@@ -1,11 +1,10 @@
export { StorageMigration } from "./base";
export { StorageVersionManager } from "./version-manager";
import { V0toV1Migration } from "./v0-to-v1";
import { V1toV2Migration } from "./v1-to-v2";
import { V2toV3Migration } from "./v2-to-v3";
export { runStorageMigrations } from "./runner";
export const CURRENT_STORAGE_VERSION = 3;
export const CURRENT_PROJECT_VERSION = 3;
export const migrations = [
new V0toV1Migration(),