-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54b3396
commit 99f6410
Showing
11 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
appcore/src/app/desktop/migration/desktop-registered-migrations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import { DesktopMigration } from "./desktop-migrations.model"; | ||
import { Upgrade_7_0_0$beta_3 } from "./upgrade_7_0_0-beta.3/upgrade_7_0_0-beta.3"; | ||
import { Upgrade_7_0_0$beta_5 } from "./upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5"; | ||
|
||
/** | ||
* Add desktop migrations inside LIST. The LIST is sorted from lowest to high versions | ||
*/ | ||
export class DesktopRegisteredMigrations { | ||
public static readonly LIST: DesktopMigration[] = [ | ||
new Upgrade_7_0_0$beta_3() // To version 7.0.0-beta.3 | ||
new Upgrade_7_0_0$beta_3(), // To version 7.0.0-beta.3 | ||
new Upgrade_7_0_0$beta_5() // To version 7.0.0-beta.5 | ||
/* Next Upgrade Here */ | ||
]; | ||
} |
14 changes: 14 additions & 0 deletions
14
appcore/src/app/desktop/migration/upgrade_7_0_0-beta.5/upgrade_7_0_0-beta.5.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { DesktopMigration } from "../desktop-migrations.model"; | ||
import { Injector } from "@angular/core"; | ||
|
||
export class Upgrade_7_0_0$beta_5 extends DesktopMigration { | ||
public version: string = "7.0.0-beta.5"; | ||
|
||
public description: string = "Trigger recalculation for power/Hr new stats & settings lacks detection fix"; | ||
|
||
public requiresRecalculation: boolean = true; | ||
|
||
public upgrade(db: LokiConstructor, injector: Injector): Promise<void> { | ||
return Promise.resolve(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters