@db.command()<EOL>@click.option('<STR_LIT>', '<STR_LIT>', default=None,<EOL>help=('<STR_LIT>'))<EOL>@click.option('<STR_LIT>', is_flag=True,<EOL>help=('<STR_LIT>'<EOL>'<STR_LIT>'))<EOL>@click.option('<STR_LIT>', default=None,<EOL>help=('<STR_LIT>'<EOL>'<STR_LIT>'))<EOL>@click.option('<STR_LIT>', '<STR_LIT>', multiple=True,<EOL>help='<STR_LIT>')<EOL>@click.argument('<STR_LIT>', default='<STR_LIT>')<EOL>@with_appcontext<EOL>def downgrade(directory, sql, tag, x_arg, revision):
_downgrade(directory, revision, sql, tag, x_arg)<EOL>
Revert to a previous version