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