예제 #1
0
from app_config import db

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