mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🐛 修改用户唯一标识符字段长度 (#549)
This commit is contained in:
@@ -14,7 +14,7 @@ class TOSHistoricalData(MappedAsDataclass, Model):
|
||||
__tablename__ = 'nb_t_tos_hist_data'
|
||||
|
||||
id: Mapped[int] = mapped_column(init=False, primary_key=True)
|
||||
user_unique_identifier: Mapped[str] = mapped_column(String(24), index=True)
|
||||
user_unique_identifier: Mapped[str] = mapped_column(String(256), index=True)
|
||||
api_type: Mapped[Literal['User Info', 'User Profile']] = mapped_column(String(16), index=True)
|
||||
data: Mapped[UserInfoSuccess | UserProfile] = mapped_column(
|
||||
PydanticType(get_model=[], models={UserInfoSuccess, UserProfile})
|
||||
|
||||
Reference in New Issue
Block a user