#NEWLINE# @ db . command ( ) #NEWLINE# @ click . argument ( 'revision' , required = True ) #NEWLINE# @ click . pass_obj #NEWLINE# def downgrade( config , revision , **kwargs ) : #NEWLINE# #INDENT# '\n    Revert to a previous version.\n    ' #NEWLINE# alembic . command . downgrade ( config . alembic_config ( ) , revision , ** kwargs )