Skip to content

Commit 34a8147

Browse files
committed
wrong log function
Signed-off-by: Tobias Gurtzick <[email protected]>
1 parent 8922147 commit 34a8147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/methods/v2/translatestate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ const methods = {
4747

4848
addIndex: async (driver, [t, i], internals) => {
4949
if (!internals.modSchema.i[t][i]) {
50-
log.warning(
50+
log.warn(
5151
`There was an attempt to create the index "${i}" in the table "${t}".`
5252
);
53-
log.warning(
53+
log.warn(
5454
`This index did not exist at the time of deleting it. ` +
5555
`This can happen if an index was created by hand and then deleted` +
5656
`by db-migrate. Make sure to recreate it by hand to avoid any problems.`

0 commit comments

Comments
 (0)