Skip to content

Commit

Permalink
Address create_time nullable issue -- these will always exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Nov 19, 2024
1 parent 00536ce commit 706c8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,7 @@ class ChatExchangeMessage(Base, RepresentById):

id: Mapped[int] = mapped_column(primary_key=True)
chat_exchange_id: Mapped[int] = mapped_column(ForeignKey("chat_exchange.id"), index=True)
create_time: Mapped[datetime] = mapped_column(default=now, nullable=True)
create_time: Mapped[datetime] = mapped_column(default=now)
message: Mapped[str] = mapped_column(Text)
feedback: Mapped[Optional[int]] = mapped_column(Integer)
chat_exchange: Mapped["ChatExchange"] = relationship("ChatExchange", back_populates="messages")
Expand Down

0 comments on commit 706c8b5

Please sign in to comment.