def refresh_db(clz, bind=None): db.clear_db(bind=bind) db.init_db(bind=bind)
def init_db(): db.clear_db() db.init_db()