Example #1
0
def downgrade(directory, sql, tag, x_arg, revision):
    """Revert to a previous version"""
    _downgrade(directory, revision, sql, tag, x_arg)
Example #2
0
def downgrade(directory, sql, tag, x_arg, revision):
    """Revert to a previous version"""
    _downgrade(directory, revision, sql, tag, x_arg)
Example #3
0
 def downgrade(revision="base"):
     with app.app_context():
         from flask_migrate import downgrade as _downgrade
         _downgrade(revision=revision)