mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-12 16:02:35 +08:00
refactor(db): convert suitable string fields to JSON type
This commit is contained in:
@@ -12,7 +12,7 @@ class SystemConfig(Base):
|
||||
# 主键
|
||||
key = Column(String, index=True)
|
||||
# 值
|
||||
value = Column(JSON, nullable=True)
|
||||
value = Column(JSON)
|
||||
|
||||
@staticmethod
|
||||
@db_query
|
||||
|
||||
Reference in New Issue
Block a user