update backup and migrations

This commit is contained in:
Julian Krauser 2025-07-13 10:06:15 +02:00
parent 7a68fa7814
commit 5af3dd5283
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,6 @@ import DatabaseActionException from "../exceptions/databaseActionException";
import { availableTemplates } from "../type/templateTypes";
import SettingHelper from "./settingsHelper";
import { LoginRoutineEnum } from "../enums/loginRoutineEnum";
import { education } from "../entity/configuration/education";
export type BackupSection =
| "member"

View file

@ -18,7 +18,7 @@ export class BackupAndResetDatabase1749296262915 implements MigrationInterface {
}
if (await queryRunner.hasTable("user")) {
await BackupHelper.createBackup({ collectIds: false });
await BackupHelper.createBackup({ collectIds: true });
}
await queryRunner.clearDatabase();