@MigrateCommand.option('<STR_LIT>', dest='<STR_LIT>', default=None,<EOL>help=("<STR_LIT>"<EOL>"<STR_LIT>"))<EOL>@MigrateCommand.option('<STR_LIT>', dest='<STR_LIT>', action='<STR_LIT:store_true>', default=False,<EOL>help=("<STR_LIT>"<EOL>"<STR_LIT>"))<EOL>@MigrateCommand.option('<STR_LIT>', nargs='<STR_LIT:?>', default="<STR_LIT>",<EOL>help="<STR_LIT>")<EOL>@MigrateCommand.option('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', default=None,<EOL>help=("<STR_LIT>"<EOL>"<STR_LIT>"))<EOL>@MigrateCommand.option('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', default=None,<EOL>action='<STR_LIT>', help=("<STR_LIT>"<EOL>"<STR_LIT>"))<EOL>@catch_errors<EOL>def downgrade(directory=None, revision='<STR_LIT>', sql=False, tag=None, x_arg=None):
config = current_app.extensions['<STR_LIT>'].migrate.get_config(directory,<EOL>x_arg=x_arg)<EOL>if sql and revision == '<STR_LIT>':<EOL><INDENT>revision = '<STR_LIT>'<EOL><DEDENT>command.downgrade(config, revision, sql=sql, tag=tag)<EOL>
Revert to a previous version