feat: add migration to version 10 and update tests

introduced a new config migration to version 10, updated related tests to validate migration.
This commit is contained in:
dswbx
2025-09-24 09:58:22 +02:00
parent aa8bf156b0
commit 832eb6ac31
4 changed files with 672 additions and 5 deletions

View File

@@ -99,6 +99,14 @@ export const migrations: Migration[] = [
};
},
},
{
// remove secrets, automatic
// change media table `entity_id` from integer to text
version: 10,
up: async (config) => {
return config;
},
},
];
export const CURRENT_VERSION = migrations[migrations.length - 1]?.version ?? 0;