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