diff --git a/core/db/models.py b/core/db/models.py index b4acda1..396fcbe 100644 --- a/core/db/models.py +++ b/core/db/models.py @@ -180,7 +180,7 @@ class UserCollection(BaseModel, DateModel): DECIMAL(10, 2), default=0 ) displayed: Mapped[bool] = mapped_column( - Boolean, default=True + Boolean, default=False ) user: Mapped['User'] = relationship(back_populates='collections') diff --git a/core/routers/card/schema.py b/core/routers/card/schema.py index 831c37a..041fce7 100644 --- a/core/routers/card/schema.py +++ b/core/routers/card/schema.py @@ -71,7 +71,7 @@ class CardOut(CardVisitOut): card_year: str | None purchase_price: Optional[condecimal(max_digits=10, decimal_places=2)] = None display_price: Optional[condecimal(max_digits=10, decimal_places=2)] = None - displayed: Optional[bool] = True + displayed: Optional[bool] = False diy_source: Optional[str] = None