更新 message.py
This commit is contained in:
@ -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)
|
||||||
# 文本内容
|
# 文本内容
|
||||||
|
Reference in New Issue
Block a user