0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed log usage for columnMigration command

This commit is contained in:
Rish 2019-09-13 19:54:18 +05:30
parent 1e905e1ef6
commit caa121cae5

View file

@ -149,7 +149,7 @@ function createColumnMigration(...migrations) {
const hasColumn = await conn.schema.hasColumn(table, column);
const isInCorrectState = dbIsInCorrectState(hasColumn);
const log = createLog(isInCorrectState ? 'info' : 'warn');
const log = createLog(isInCorrectState ? 'warn' : 'info');
log(`${operationVerb} ${table}.${column}`);