Esempio n. 1
0
def reset():
    reset_db()
    return jsonify({"status": "ok", "message": "Nuked all the things"})
Esempio n. 2
0
def reset():
    """ Destroy the current database and create a new one. """
    reset_db()
Esempio n. 3
0
def reset():
    reset_db()
    return jsonify({'status': 'ok', 'message': 'Nuked all the things'})