def do_db_sync(): """Place a database under migration control and upgrade. Creating first if necessary. """ db_api.db_sync(db_api.get_engine(), CONF.command.version)