from app_config import db

db.create_all()
db.session.commit()
Esempio n. 2
0
def createdbschema():
    db.create_all()
Esempio n. 3
0
def recreate_db():
    db.drop_all()
    db.create_all()