优化数据库结构

This commit is contained in:
2026-03-17 13:54:35 +08:00
parent 0a3d7daf2c
commit 2fb27aa714
3 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ class SigninLog(Base):
id = Column(Integer, primary_key=True, autoincrement=True)
account_id = Column(String(36), ForeignKey("accounts.id"), nullable=False)
topic_title = Column(String(100))
status = Column(String(20), nullable=False)
status = Column(String(50), nullable=False)
reward_info = Column(JSON, nullable=True)
error_message = Column(Text, nullable=True)
signed_at = Column(DateTime, server_default=func.now())