Skip to content

Commit

Permalink
ImageStatus.logfile is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ychiucco committed Feb 28, 2025
1 parent 5983bf6 commit 43a5fad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fractal_server/app/models/v2/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ class ImageStatus(SQLModel, table=True):

parameters_hash: str
status: str
logfile: str
logfile: Optional[str]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""image status
Revision ID: 8223fcef886c
Revision ID: 954ddc64425a
Revises: 87cd72a537a2
Create Date: 2025-02-24 11:32:22.267338
Create Date: 2025-02-28 16:37:38.765883
"""
import sqlalchemy as sa
Expand All @@ -11,7 +11,7 @@


# revision identifiers, used by Alembic.
revision = "8223fcef886c"
revision = "954ddc64425a"
down_revision = "87cd72a537a2"
branch_labels = None
depends_on = None
Expand All @@ -35,7 +35,7 @@ def upgrade() -> None:
"status", sqlmodel.sql.sqltypes.AutoString(), nullable=False
),
sa.Column(
"logfile", sqlmodel.sql.sqltypes.AutoString(), nullable=False
"logfile", sqlmodel.sql.sqltypes.AutoString(), nullable=True
),
sa.ForeignKeyConstraint(
["dataset_id"],
Expand Down

0 comments on commit 43a5fad

Please sign in to comment.