Skip to content

Commit

Permalink
Backport nullable flow_run_id in Log table (#14830)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz authored Aug 5, 2024
1 parent 67774d3 commit a3f0528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/server/database/orm_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ class ORMLog:

name = sa.Column(sa.String, nullable=False)
level = sa.Column(sa.SmallInteger, nullable=False, index=True)
flow_run_id = sa.Column(UUID(), nullable=False, index=True)
flow_run_id = sa.Column(UUID(), nullable=True, index=True)
task_run_id = sa.Column(UUID(), nullable=True, index=True)
message = sa.Column(sa.Text, nullable=False)

Expand Down

0 comments on commit a3f0528

Please sign in to comment.