Example #1
0
def delete_table():
    if User.exists():
        User.delete_table()
    if Photo.exists():
        Photo.delete_table()
Example #2
0
def delete_table():
    User.delete_table()
    app.logger.debug("Dynamodb Users table deleted")