Skip to content

Commit

Permalink
fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Apr 23, 2024
1 parent b94c0c5 commit d339e7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/phoenix/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
UniqueConstraint,
func,
insert,
text,
)
from sqlalchemy.dialects import postgresql
from sqlalchemy.ext.asyncio import AsyncEngine
Expand Down Expand Up @@ -96,12 +97,12 @@ class Project(Base):
description: Mapped[Optional[str]]
gradient_start_color: Mapped[str] = mapped_column(
String,
server_default=func.text("'#5bdbff'"),
server_default=text("'#5bdbff'"),
)

gradient_end_color: Mapped[str] = mapped_column(
String,
server_default=func.text("'#1c76fc'"),
server_default=text("'#1c76fc'"),
)
created_at: Mapped[datetime] = mapped_column(UtcTimeStamp, server_default=func.now())
updated_at: Mapped[datetime] = mapped_column(
Expand Down

0 comments on commit d339e7a

Please sign in to comment.