Skip to content

Commit

Permalink
Fix Migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 committed Oct 18, 2023
1 parent 982af34 commit 76deb0e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# GameVault Backend Server Changelog

## 8.0.1

Recommended Gamevault App Version: `v1.7.0`

### Changes

- Fixed initial Database Setup not happening
- Increased stability of some migrations

## 8.0.0

Recommended Gamevault App Version: `v1.7.0`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gamevault-backend",
"version": "8.0.0",
"version": "8.0.1",
"description": "the self-hosted gaming platform for drm-free games",
"author": "Alkan Alper, Schäfer Philip GbR / Phalcode",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ export class RemoveImageDeduplication1691366400000
for (const foreignKey of gamevaultUserForeignKeysToDrop) {
try {
await queryRunner.dropForeignKey("gamevault_user", foreignKey);
} catch (error) {
// Handle the error or ignore it if the foreign key doesn't exist
console.error(`Error dropping foreign key ${foreignKey}`);
}
} catch (error) {}
}

await queryRunner.createForeignKeys("gamevault_user", [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ export class RemoveImageDeduplication1691366400000
for (const foreignKey of gamevaultUserForeignKeysToDrop) {
try {
await queryRunner.dropForeignKey("gamevault_user", foreignKey);
} catch (error) {
// Handle the error or ignore it if the foreign key doesn't exist
console.error(`Error dropping foreign key ${foreignKey}`);
}
} catch (error) {}
}

await queryRunner.createForeignKeys("gamevault_user", [
Expand Down

0 comments on commit 76deb0e

Please sign in to comment.