from app_config import db db.create_all() db.session.commit()
def createdbschema(): db.create_all()
def recreate_db(): db.drop_all() db.create_all()