diff options
-rw-r--r-- | src/util/util/Database.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util/Database.ts b/src/util/util/Database.ts index d4509f67..64d7ca14 100644 --- a/src/util/util/Database.ts +++ b/src/util/util/Database.ts @@ -48,7 +48,7 @@ const DataSourceOptions = new DataSource({ charset: "utf8mb4", url: isSqlite ? undefined : dbConnectionString, database: isSqlite ? dbConnectionString : undefined, - entities: ["dist/util/entities/*.js"], + entities: [path.join(__dirname, "..", "entities", "*.js")], synchronize: !!process.env.DB_SYNC, logging: false, bigNumberStrings: false, |