def init(): db = Database(app.config['DATABASE']) db.executescript(open_sql('schema')) db.close()
def test(): db = Database(app.config['DATABASE']) db.executescript(open_sql('test')) db.close()