完成虎牙宝典WSS绑定与快照隔离重构
This commit is contained in:
@@ -576,6 +576,8 @@ class HuyaGoodsSnapshot(Base):
|
||||
__tablename__ = "huya_goods_snapshot"
|
||||
|
||||
id: Mapped[int] = mapped_column(Integer, primary_key=True, autoincrement=True)
|
||||
account_id: Mapped[int | None] = mapped_column(Integer, nullable=True, index=True)
|
||||
sid: Mapped[int] = mapped_column(Integer, default=0, index=True)
|
||||
product_id: Mapped[str] = mapped_column(String(64), nullable=False, index=True)
|
||||
name: Mapped[str] = mapped_column(String(256), default="")
|
||||
price: Mapped[int | None] = mapped_column(Integer, nullable=True)
|
||||
@@ -592,6 +594,8 @@ class HuyaRechargeGoodsSnapshot(Base):
|
||||
__tablename__ = "huya_recharge_goods_snapshot"
|
||||
|
||||
id: Mapped[int] = mapped_column(Integer, primary_key=True, autoincrement=True)
|
||||
account_id: Mapped[int | None] = mapped_column(Integer, nullable=True, index=True)
|
||||
sid: Mapped[int] = mapped_column(Integer, default=0, index=True)
|
||||
spu_id: Mapped[str] = mapped_column(String(64), nullable=False, index=True)
|
||||
sku_id: Mapped[str] = mapped_column(String(64), default="", index=True)
|
||||
name: Mapped[str] = mapped_column(String(256), default="")
|
||||
|
||||
Reference in New Issue
Block a user