cmd.migration: add debug log

This commit is contained in:
Luna Mendes 2018-11-07 19:16:44 -03:00
parent a394c02477
commit 7be9d30f5d
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ async def migrate_cmd(app, _args):
local_change = local_change or 0 local_change = local_change or 0
latest_change = ctx.latest latest_change = ctx.latest
log.debug('local: {}, latest: {}', local_change, latest_change)
if local_change == latest_change: if local_change == latest_change:
print('no changes to do, exiting') print('no changes to do, exiting')
return return