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:
parent
156ba39b42
commit
82ac5a47ad
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user