Adds provider onto the inbound sms table so we know where this came from.

This commit is contained in:
Martyn Inglis
2017-06-02 16:37:57 +01:00
parent 3e1de2e901
commit 012f8d2675
4 changed files with 30 additions and 3 deletions

View File

@@ -1166,6 +1166,7 @@ class InboundSms(db.Model):
user_number = db.Column(db.String, nullable=False) # the end user's number, that the msg was sent from
provider_date = db.Column(db.DateTime)
provider_reference = db.Column(db.String)
provider = db.Column(db.String, nullable=True)
_content = db.Column('content', db.String, nullable=False)
@property