Skip to content

Commit

Permalink
add label, score, and explanation columns
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Apr 8, 2024
1 parent a26d2d4 commit fd59d16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def upgrade() -> None:
sa.Column("id", sa.Integer, primary_key=True),
sa.Column("span_rowid", sa.Integer, sa.ForeignKey("traces.id"), nullable=False),
sa.Column("name", sa.String, nullable=False),
sa.Column("label", sa.String, nullable=False),
sa.Column("score", sa.Float, nullable=False),
sa.Column("explanation", sa.String, nullable=False),
sa.UniqueConstraint("name", "span_rowid"),
)

Expand Down

0 comments on commit fd59d16

Please sign in to comment.