Add command to populate the free_sms_fragment_limit

Added a one-off command to set values of the free_sms_fragment_limit in
the services table and the services_history table to the default of
250000.
This commit is contained in:
Katie Smith
2017-10-11 14:00:53 +01:00
parent 2001bfca36
commit 9322ed0ca3
2 changed files with 26 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ manager.add_command('backfill_processing_time', commands.BackfillProcessingTime)
manager.add_command('populate_service_email_reply_to', commands.PopulateServiceEmailReplyTo)
manager.add_command('populate_service_sms_sender', commands.PopulateServiceSmsSender)
manager.add_command('populate_service_letter_contact', commands.PopulateServiceLetterContact)
manager.add_command('populate_service_and_service_history_free_sms_fragment_limit',
commands.PopulateServiceAndServiceHistoryFreeSmsFragmentLimit)
@manager.command