mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
ensure migrations are run before everything else
This commit is contained in:
parent
689fe5715e
commit
d3d9315102
2 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,8 @@ app.whenReady().then(() => {
|
|||
);
|
||||
|
||||
dataSource.initialize().then(async () => {
|
||||
await dataSource.runMigrations();
|
||||
|
||||
await resolveDatabaseUpdates();
|
||||
|
||||
await import("./main");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue