from flask import Flask, request, render_template
from settings import *
from models import *
app = Flask(__name__)
app.config['SERVER_NAME'] = FLASK_SERVER_NAME
app.config['SQLALCHEMY_DATABASE_URI'] = SQLALCHEMY_DATABASE_URI
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = SQLALCHEMY_TRACK_MODIFICATIONS
db.init_app(app)


def main():
    db.create_all()


if __name__ == '__main__':
    with app.app_context():
        main()

4a5b1fec6f26e76354dda780709c2705d180c3d8
<mask token>


def main():
    db.create_all()


<mask token>

<mask token>
db.init_app(app)


def main():
    db.create_all()


if __name__ == '__main__':
    with app.app_context():
        main()

<mask token>
app = Flask(__name__)
app.config['SERVER_NAME'] = FLASK_SERVER_NAME
app.config['SQLALCHEMY_DATABASE_URI'] = SQLALCHEMY_DATABASE_URI
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = SQLALCHEMY_TRACK_MODIFICATIONS
db.init_app(app)


def main():
    db.create_all()


if __name__ == '__main__':
    with app.app_context():
        main()

from flask import Flask, request, render_template
from settings import *
from models import *
app = Flask(__name__)
app.config['SERVER_NAME'] = FLASK_SERVER_NAME
app.config['SQLALCHEMY_DATABASE_URI'] = SQLALCHEMY_DATABASE_URI
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = SQLALCHEMY_TRACK_MODIFICATIONS
db.init_app(app)


def main():
    db.create_all()


if __name__ == '__main__':
    with app.app_context():
        main()
