Skip to content
Snippets Groups Projects
Commit dd798bf8 authored by Steven Loria's avatar Steven Loria
Browse files

Merge pull request #60 from lord63-forks/init-flask-migrate-extension

Init the flask-migrate extension first
parents d9c38e9e e1f1af2c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import os
from glob import glob
from subprocess import call
from flask_migrate import MigrateCommand
from flask_migrate import Migrate, MigrateCommand
from flask_script import Command, Manager, Option, Server, Shell
from flask_script.commands import Clean, ShowUrls
......@@ -20,6 +20,7 @@ TEST_PATH = os.path.join(HERE, 'tests')
app = create_app(CONFIG)
manager = Manager(app)
migrate = Migrate(app, db)
def _make_context():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment