mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
make storage versioning per-project + few other refactors
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user