mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Add DB table for service broadcast settings
This will allow us to store details of which channel a service should be sending to. See the comment about how all broadcast services can have a row in the table but may not at the moment. This has been done for speed as it's the quickest way to let us set up different services to send to different channels for some needed testing with the mobile handset providers in the coming week.
This commit is contained in:
@@ -36,7 +36,6 @@ from app.models import (
|
||||
INBOUND_SMS_TYPE,
|
||||
NOTIFICATION_RETURNED_LETTER,
|
||||
UPLOAD_LETTERS,
|
||||
|
||||
)
|
||||
from tests import create_authorization_header
|
||||
from tests.app.db import (
|
||||
|
||||
@@ -119,7 +119,8 @@ def notify_db_session(notify_db, sms_providers):
|
||||
"auth_type",
|
||||
"broadcast_status_type",
|
||||
"invite_status_type",
|
||||
"service_callback_type"]:
|
||||
"service_callback_type",
|
||||
"broadcast_channel_types"]:
|
||||
notify_db.engine.execute(tbl.delete())
|
||||
notify_db.session.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user