Пример #1
0
def resetdb():
    print 'Using', db.engine.url
    db.drop_all()
    db.create_all()
Пример #2
0
def createdb():
    print 'Using', db.engine.url
    db.create_all()