summaryrefslogtreecommitdiff
path: root/apps/web/src/services/storage/migrations/index.ts
blob: 158db957502510b2c99c9110525b9fe15325ee3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 migrations = [
	new V0toV1Migration(),
	new V1toV2Migration(),
	new V2toV3Migration(),
];