from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand
import os
from application.models import *
from application.routes import app
from application import db
app.config.from_object(os.environ.get('SETTINGS'))
print(app.config)
migrate = Migrate(app, db)
manager = Manager(app)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()

42dab3567e87dca548331decbb6ee79ac1e11244
<mask token>

<mask token>
app.config.from_object(os.environ.get('SETTINGS'))
print(app.config)
<mask token>
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()

<mask token>
app.config.from_object(os.environ.get('SETTINGS'))
print(app.config)
migrate = Migrate(app, db)
manager = Manager(app)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()

from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand
import os
from application.models import *
from application.routes import app
from application import db
app.config.from_object(os.environ.get('SETTINGS'))
print(app.config)
migrate = Migrate(app, db)
manager = Manager(app)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manager.run()
