Index: lnt/lnttool/main.py =================================================================== --- lnt/lnttool/main.py +++ lnt/lnttool/main.py @@ -204,6 +204,8 @@ @click.option("--show-sql", is_flag=True, help="show all SQL queries") def action_update(db_path, show_sql): """create and or auto-update the given database""" + import lnt.server.db.migrate + init_logger(logging.INFO, show_sql=show_sql, stream=sys.stderr) # Update the database.