from flask_script import Manager
from flask import Flask

#local import
from database.database import Database

#create databse instance
db = Database()

app = Flask(__name__) # flask app instance

#manager requires a flask instance
manager = Manager(app)

@manager.command
def create_db():
    db.create_tables()

@manager.command
def drop_db():
    db.drop_table()    


if __name__ == '__main__':
  manager.run()



38c3df1d4998543e13efe39da87445b5506b5052
<mask token>


@manager.command
def create_db():
    db.create_tables()


@manager.command
def drop_db():
    db.drop_table()


<mask token>

<mask token>


@manager.command
def create_db():
    db.create_tables()


@manager.command
def drop_db():
    db.drop_table()


if __name__ == '__main__':
    manager.run()

<mask token>
db = Database()
app = Flask(__name__)
manager = Manager(app)


@manager.command
def create_db():
    db.create_tables()


@manager.command
def drop_db():
    db.drop_table()


if __name__ == '__main__':
    manager.run()

from flask_script import Manager
from flask import Flask
from database.database import Database
db = Database()
app = Flask(__name__)
manager = Manager(app)


@manager.command
def create_db():
    db.create_tables()


@manager.command
def drop_db():
    db.drop_table()


if __name__ == '__main__':
    manager.run()

from flask_script import Manager
from flask import Flask

#local import
from database.database import Database

#create databse instance
db = Database()

app = Flask(__name__) # flask app instance

#manager requires a flask instance
manager = Manager(app)

@manager.command
def create_db():
    db.create_tables()

@manager.command
def drop_db():
    db.drop_table()    


if __name__ == '__main__':
  manager.run()


