import sqlalchemy
from suddendev import create_app
from suddendev.models import db
from flask_sqlalchemy import SQLAlchemy

if __name__=='__main__':
    app = create_app()

    # create an app context
    ctx = app.app_context()
    ctx.push()

    db.drop_all()
    db.create_all()

    ctx.pop()
