#!/usr/bin/env python
import os

from flask.cli import FlaskGroup

from neighbours.application import db


if not os.getenv("FLASK_APP"):
    os.environ["FLASK_APP"] = "neighbours/application.py"


cli = FlaskGroup()


@cli.command()
def recreate_db():
    db.drop_all()
    db.create_all()
    db.session.commit()


if __name__ == '__main__':
    cli()

c9e6ba8ef3b0b5b89de1afa36ccd568696e3ff8a
<mask token>


@cli.command()
def recreate_db():
    db.drop_all()
    db.create_all()
    db.session.commit()


<mask token>

<mask token>
if not os.getenv('FLASK_APP'):
    os.environ['FLASK_APP'] = 'neighbours/application.py'
<mask token>


@cli.command()
def recreate_db():
    db.drop_all()
    db.create_all()
    db.session.commit()


if __name__ == '__main__':
    cli()

<mask token>
if not os.getenv('FLASK_APP'):
    os.environ['FLASK_APP'] = 'neighbours/application.py'
cli = FlaskGroup()


@cli.command()
def recreate_db():
    db.drop_all()
    db.create_all()
    db.session.commit()


if __name__ == '__main__':
    cli()

import os
from flask.cli import FlaskGroup
from neighbours.application import db
if not os.getenv('FLASK_APP'):
    os.environ['FLASK_APP'] = 'neighbours/application.py'
cli = FlaskGroup()


@cli.command()
def recreate_db():
    db.drop_all()
    db.create_all()
    db.session.commit()


if __name__ == '__main__':
    cli()

#!/usr/bin/env python
import os

from flask.cli import FlaskGroup

from neighbours.application import db


if not os.getenv("FLASK_APP"):
    os.environ["FLASK_APP"] = "neighbours/application.py"


cli = FlaskGroup()


@cli.command()
def recreate_db():
    db.drop_all()
    db.create_all()
    db.session.commit()


if __name__ == '__main__':
    cli()
