Not null the provider column on the inbound SMS table.

This commit is contained in:
Martyn Inglis
2017-06-02 16:51:27 +01:00
parent 199c43c507
commit 400096520d
2 changed files with 27 additions and 1 deletions

View File

@@ -1166,7 +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)
provider = db.Column(db.String, nullable=False)
_content = db.Column('content', db.String, nullable=False)
@property