feat: add JWT authentication and AGENTS.md
This commit is contained in:
@@ -31,6 +31,9 @@ class UserSettings(Base):
|
||||
default_sort_by = Column(String(20), default="created_at")
|
||||
default_sort_order = Column(String(10), default="desc")
|
||||
|
||||
# 认证
|
||||
password_hash = Column(String(255), default="")
|
||||
|
||||
# 时间戳
|
||||
created_at = Column(DateTime, default=utcnow)
|
||||
updated_at = Column(DateTime, default=utcnow, onupdate=utcnow)
|
||||
|
||||
Reference in New Issue
Block a user