def init_data(): """Fish data for project""" db.drop_all() db.create_all()
def flushdb(app): with app.app_context(): db.drop_all() db.create_all() rds.flushall()