Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 190 Bytes
from flaskext.script import Manager
from web import db, app
manager = Manager(app)
@manager.command
def createDbSchema():
db.create_all()
if __name__ == "__main__":
manager.run()