# Path: datawire/core.py
# def url_for(*a, **kw):
# 
# Path: datawire/core.py
# def url_for(*a, **kw):


from flask.ext.script import Manager
from flask.ext.migrate import MigrateCommand
from flask.ext import migrate
from datawire.model import db
from datawire.views import app


manager = Manager(app)
manager.add_command('db', MigrateCommand)


@manager.command
def reset():
    """ Delete and re-create the search index and database. """

# Path: datawire/core.py
# def url_for(*a, **kw):
# 
# Path: datawire/core.py
# def url_for(*a, **kw):


# Path: datawire/manage.py
from flask.ext.script import Manager
from flask.ext.migrate import MigrateCommand
from flask.ext import migrate
from datawire.model import db
from datawire.views import app



manager = Manager(app)
manager.add_command('db', MigrateCommand)


@manager.command
def reset():
    """ Delete and re-create the search index and database. """

    db.drop_all()