feat(F-048): completed feature

This commit is contained in:
chattie
2026-08-19 07:17:14 +02:00
parent 8ee1938af9
commit 835ab66eda
187 changed files with 12361 additions and 1065 deletions

View File

@@ -43,4 +43,11 @@ describe.skipIf(!hasDb)('migrations', () => {
expect(await tableExists(pool, 'identity_users')).toBe(false);
expect(await tableExists(pool, 'app_meta')).toBe(false);
});
it('reapplies the full schema after a complete rollback', async () => {
await runMigrations(url, 'up');
expect(await tableExists(pool, 'app_meta')).toBe(true);
expect(await tableExists(pool, 'backoffice_users')).toBe(true);
expect(await tableExists(pool, 'categories_categories')).toBe(true);
});
});