Created At: 2026-11-18T18:37:38Z Completed At: 2026-11-18T18:37:38Z Command exited with code 0. Command output: 16- # Relationships 17- credentials: Mapped["BotCredential"] = relationship("BotCredential", back_populates="bot", uselist=False, cascade="all, delete-orphan", lazy="selectin") 18- webhook: Mapped["BotWebhook"] = relationship("BotWebhook", back_populates="bot", uselist=False, cascade="all, delete-orphan", lazy="selectin") 19- settings: Mapped["BotSetting"] = relationship("BotSetting", back_populates="bot", uselist=False, cascade="all, delete-orphan", lazy="selectin") 20- commands: Mapped[list["BotCommand"]] = relationship("BotCommand", back_populates="bot", cascade="all, delete-orphan", lazy="selectin") 21- users: Mapped[list["BotUser"]] = relationship("BotUser", back_populates="bot", cascade="all, delete-orphan", lazy="selectin") 22- modules: Mapped[list["BotModule"]] = relationship("BotModule", back_populates="bot", cascade="all, delete-orphan", lazy="selectin") 23- referrals: Mapped[list["BotReferralRecord"]] = relationship("BotReferralRecord", back_populates="bot", cascade="all, delete-orphan", lazy="selectin") 24- 25- 26:class BotCredential(Base, UUIDPrimaryKeyMixin, TimestampMixin): 27- __tablename__ = "bot_credentials" 28- 29- bot_id: Mapped[uuid.UUID] = mapped_column( 30- UUID(as_uuid=True), 31- ForeignKey("bots.id", ondelete="CASCADE"), 32- unique=True, 33- nullable=False, 34- ) 35- encrypted_token: Mapped[str] = mapped_column(Text, nullable=False) 36- key_version: Mapped[int] = mapped_column(Integer, default=1, nullable=False)