mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 00:02:36 -05:00
Provider Statistics added.
Rates command added with a test. Updated to include added migration.
This commit is contained in:
@@ -4,7 +4,7 @@ from __future__ import print_function
|
||||
import os
|
||||
from flask.ext.script import Manager, Server
|
||||
from flask.ext.migrate import Migrate, MigrateCommand
|
||||
from app import (create_app, db)
|
||||
from app import (create_app, db, commands)
|
||||
|
||||
application = create_app()
|
||||
manager = Manager(application)
|
||||
@@ -13,6 +13,7 @@ manager.add_command("runserver", Server(host='0.0.0.0', port=port))
|
||||
|
||||
migrate = Migrate(application, db)
|
||||
manager.add_command('db', MigrateCommand)
|
||||
manager.add_command('create_provider_rate', commands.CreateProviderRateCommand)
|
||||
|
||||
|
||||
@manager.command
|
||||
|
||||
Reference in New Issue
Block a user