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:
parent
1e905e1ef6
commit
caa121cae5
1 changed files with 1 additions and 1 deletions
|
@ -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}`);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue