mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 11:37:23 +08:00
refactor(db): convert suitable string fields to JSON type
This commit is contained in:
@@ -14,7 +14,7 @@ class UserConfig(Base):
|
||||
# 配置键
|
||||
key = Column(String)
|
||||
# 值
|
||||
value = Column(JSON, nullable=True)
|
||||
value = Column(JSON)
|
||||
|
||||
__table_args__ = (
|
||||
# 用户名和配置键联合唯一
|
||||
|
||||
Reference in New Issue
Block a user