This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from app import create_app | |
from flask.ext.script import Manager | |
from app import db | |
from app.models import User | |
... | |
@manager.command | |
def db_up(): | |
""" set up & refresh database """ |