更新 message.py

This commit is contained in:
jxxghp
2024-03-16 22:21:12 +08:00
committed by GitHub
parent 350def0a6f
commit 0c581565ad

View File

@ -10,9 +10,9 @@ class Message(Base):
""" """
id = Column(Integer, Sequence('id'), primary_key=True, index=True) id = Column(Integer, Sequence('id'), primary_key=True, index=True)
# 消息渠道 # 消息渠道
channel = Column(String, nullable=False) channel = Column(String)
# 消息类型 # 消息类型
mtype = Column(String, nullable=False) mtype = Column(String)
# 标题 # 标题
title = Column(String) title = Column(String)
# 文本内容 # 文本内容