from app_config import db

db.create_all()
db.session.commit()
Beispiel #2
0
def createdbschema():
    db.create_all()
Beispiel #3
0
def recreate_db():
    db.drop_all()
    db.create_all()