mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 01:33:56 +00:00
@@ -10,6 +10,7 @@ import {
|
||||
} from "@main/entity";
|
||||
|
||||
import { databasePath } from "./constants";
|
||||
import * as migrations from "./migrations";
|
||||
|
||||
export const dataSource = new DataSource({
|
||||
type: "better-sqlite3",
|
||||
@@ -22,6 +23,7 @@ export const dataSource = new DataSource({
|
||||
DownloadQueue,
|
||||
UserAuth,
|
||||
],
|
||||
synchronize: false,
|
||||
synchronize: true,
|
||||
database: databasePath,
|
||||
migrations,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user