def delete_table(): if User.exists(): User.delete_table() if Photo.exists(): Photo.delete_table()
def delete_table(): User.delete_table() app.logger.debug("Dynamodb Users table deleted")