mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-05 05:38:25 -04:00
Drop the Notification to sender mapping tables.
We no longer need them because we record the text value of the sender on the notification.
This commit is contained in:
@@ -1572,48 +1572,6 @@ class ServiceLetterContact(db.Model):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class NotificationEmailReplyTo(db.Model):
|
|
||||||
__tablename__ = "notification_to_email_reply_to"
|
|
||||||
|
|
||||||
notification_id = db.Column(
|
|
||||||
UUID(as_uuid=True),
|
|
||||||
db.ForeignKey('notifications.id'),
|
|
||||||
unique=True,
|
|
||||||
index=True,
|
|
||||||
nullable=False,
|
|
||||||
primary_key=True
|
|
||||||
)
|
|
||||||
service_email_reply_to_id = db.Column(
|
|
||||||
UUID(as_uuid=True),
|
|
||||||
db.ForeignKey('service_email_reply_to.id'),
|
|
||||||
unique=False,
|
|
||||||
index=True,
|
|
||||||
nullable=False,
|
|
||||||
primary_key=True
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class NotificationSmsSender(db.Model):
|
|
||||||
__tablename__ = "notification_to_sms_sender"
|
|
||||||
|
|
||||||
notification_id = db.Column(
|
|
||||||
UUID(as_uuid=True),
|
|
||||||
db.ForeignKey('notifications.id'),
|
|
||||||
unique=True,
|
|
||||||
index=True,
|
|
||||||
nullable=False,
|
|
||||||
primary_key=True
|
|
||||||
)
|
|
||||||
service_sms_sender_id = db.Column(
|
|
||||||
UUID(as_uuid=True),
|
|
||||||
db.ForeignKey('service_sms_senders.id'),
|
|
||||||
unique=False,
|
|
||||||
index=True,
|
|
||||||
nullable=False,
|
|
||||||
primary_key=True
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class AuthType(db.Model):
|
class AuthType(db.Model):
|
||||||
__tablename__ = 'auth_type'
|
__tablename__ = 'auth_type'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user