feature/#34-backup-&-import #57

Merged
jkeffects merged 24 commits from feature/#34-backup-&-import into develop 2025-02-03 10:08:19 +00:00
Showing only changes of commit 0994274c0c - Show all commits

View file

@ -8,7 +8,9 @@ export class BackupAndResetDatabase1738166124200 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> { public async up(queryRunner: QueryRunner): Promise<void> {
if ((await queryRunner.hasTable("user")) && !(await queryRunner.hasTable("salutation"))) { if ((await queryRunner.hasTable("user")) && !(await queryRunner.hasTable("salutation"))) {
throw new InternalException("Cannot update due to skiped version, resulting in data loss"); throw new InternalException(
"Cannot update due to skiped version. Update to v1.2.2 Version first to prevent data loss and get access to the newer Versions."
);
} }
if (await queryRunner.hasTable("user")) { if (await queryRunner.hasTable("user")) {