forked from FOSS/AutoShop-Djimbo
refactor: remove Yoomoney payment integration
This commit is contained in:
@@ -14,11 +14,13 @@ class PaymentsModel(Base):
|
||||
|
||||
id: Mapped[int] = mapped_column(Integer, primary_key=True, default=1)
|
||||
cryptobot_token: Mapped[str] = mapped_column(String, nullable=False, default="None")
|
||||
yoomoney_token: Mapped[str] = mapped_column(String, nullable=False, default="None")
|
||||
stars_course: Mapped[float] = mapped_column(Float, nullable=False, default=1.5)
|
||||
status_cryptobot: Mapped[str] = mapped_column(String(16), nullable=False, default="False")
|
||||
status_yoomoney: Mapped[str] = mapped_column(String(16), nullable=False, default="False")
|
||||
status_stars: Mapped[str] = mapped_column(String(16), nullable=False, default="False")
|
||||
status_cryptobot: Mapped[str] = mapped_column(
|
||||
String(16), nullable=False, default="False"
|
||||
)
|
||||
status_stars: Mapped[str] = mapped_column(
|
||||
String(16), nullable=False, default="False"
|
||||
)
|
||||
|
||||
|
||||
ModelBase = Payments
|
||||
|
||||
@@ -36,10 +36,8 @@ class Item:
|
||||
class Payments:
|
||||
id: int
|
||||
cryptobot_token: str
|
||||
yoomoney_token: str
|
||||
stars_course: float
|
||||
status_cryptobot: str
|
||||
status_yoomoney: str
|
||||
status_stars: str
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user