Upgrade to revision

def up(tag, sql, revision):
    """ Upgrade to revision """
    alembic_command.upgrade(
        config=get_config(),
        revision=revision,
        sql=sql,
        tag=tag
    )