refactor: 移除 UserAuthn 模型中的表名定义

This commit is contained in:
2025-12-18 14:06:35 +08:00
parent a977f5b261
commit 8d2658b166
2 changed files with 93 additions and 100 deletions

View File

@@ -12,8 +12,6 @@ if TYPE_CHECKING:
class UserAuthn(TableBase, table=True):
"""用户 WebAuthn 凭证模型,与 User 为多对一关系"""
__tablename__ = "user_authn"
credential_id: str = Field(max_length=255, unique=True, index=True)
"""凭证 IDBase64 编码"""