mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
Add 'stubbed' column to broadcast_message table
This is a boolean column. It will be set to True for broadcasts created from training broadcast accounts. This will help us debug, for example by excluding all the stubbed broadcasts when we have some trouble with real broadcasts.
This commit is contained in:
@@ -2269,6 +2269,8 @@ class BroadcastMessage(db.Model):
|
||||
|
||||
reference = db.Column(db.String(255), nullable=True)
|
||||
|
||||
stubbed = db.Column(db.Boolean, nullable=True)
|
||||
|
||||
CheckConstraint("created_by_id is not null or api_key_id is not null")
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user