From 82ac5a47ad72ab79e51721085ec41799aef6683b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Tue, 23 Jan 2024 16:01:36 +0100 Subject: [PATCH] chore: This helps output the migrations being applied (#6004) ## About the changes This outputs to console.log but should be indexable: ![image](https://github.com/Unleash/unleash/assets/455064/cb696936-7060-447d-b22d-ff62b4dbcbc3) --- src/migrator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrator.ts b/src/migrator.ts index 19350a02a6..5ca2d3caf2 100644 --- a/src/migrator.ts +++ b/src/migrator.ts @@ -3,7 +3,7 @@ import { getInstance } from 'db-migrate'; import { IUnleashConfig } from './lib/types/option'; import { secondsToMilliseconds } from 'date-fns'; -log.setLogLevel('error'); +log.setLogLevel('info'); export async function migrateDb({ db }: IUnleashConfig): Promise { const custom = {