1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

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)
This commit is contained in:
Gastón Fournier 2024-01-23 16:01:36 +01:00 committed by GitHub
parent 156ba39b42
commit 82ac5a47ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<void> {
const custom = {