import datetime
from .. import db


class SMSAlert(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    title = db.Column(db.String, index=True)
    content = db.Column(db.String, index=True)
    date = db.Column(db.DateTime, index=True)

Add SMS alert model