import os
from flask import Flask
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from models import db
from config import app_config

# app initiliazation
application = Flask(__name__)
application.config.from_object(app_config[os.getenv('FLASK_ENV')])

db.init_app(application) # Loading DB while starting the server

migrate = Migrate(application, db)
manager = Manager(application)

manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()
8a957d56da000ed0c9e48c1e4f55f30b7c35ed3c
<mask token>

<mask token>
application.config.from_object(app_config[os.getenv('FLASK_ENV')])
db.init_app(application)
<mask token>
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()

<mask token>
application = Flask(__name__)
application.config.from_object(app_config[os.getenv('FLASK_ENV')])
db.init_app(application)
migrate = Migrate(application, db)
manager = Manager(application)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()

import os
from flask import Flask
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from models import db
from config import app_config
application = Flask(__name__)
application.config.from_object(app_config[os.getenv('FLASK_ENV')])
db.init_app(application)
migrate = Migrate(application, db)
manager = Manager(application)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()

import os
from flask import Flask
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from models import db
from config import app_config

# app initiliazation
application = Flask(__name__)
application.config.from_object(app_config[os.getenv('FLASK_ENV')])

db.init_app(application) # Loading DB while starting the server

migrate = Migrate(application, db)
manager = Manager(application)

manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()