Create a server command to run custom db scripts.

This commit is contained in:
Rebecca Law
2017-05-19 17:04:39 +01:00
parent 35e9abe8b5
commit 2e864411af
3 changed files with 22 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ migrate = Migrate(application, db)
manager.add_command('db', MigrateCommand)
manager.add_command('create_provider_rate', commands.CreateProviderRateCommand)
manager.add_command('purge_functional_test_data', commands.PurgeFunctionalTestDataCommand)
manager.add_command('custom_db_script', commands.CustomDbScript)
@manager.command