mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore: logging clean up (#18031)
This commit is contained in:
parent
da7a81b752
commit
5d21ba3166
3 changed files with 5 additions and 8 deletions
|
|
@ -67,7 +67,7 @@ const runQuery = async (query: string) => {
|
|||
|
||||
const runMigrations = async () => {
|
||||
const configRepository = new ConfigRepository();
|
||||
const logger = new LoggingRepository(undefined, configRepository);
|
||||
const logger = LoggingRepository.create();
|
||||
const db = getDatabaseClient();
|
||||
const databaseRepository = new DatabaseRepository(db, logger, configRepository);
|
||||
await databaseRepository.runMigrations();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue