Skip to content

Commit

Permalink
fix: migration
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Sep 14, 2024
1 parent d548a54 commit 3af1af4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"""

import sqlalchemy as sa
import sqlmodel
from alembic import op

# revision identifiers, used by Alembic.
Expand All @@ -31,7 +32,10 @@ def upgrade() -> None:
),
)
op.add_column(
"workflow", sa.Column("provisioned_file", sa.String(length=255), nullable=True)
"workflow",
sa.Column(
"provisioned_file", sqlmodel.sql.sqltypes.AutoString(), nullable=True
),
)

# ### end Alembic commands ###
Expand Down

0 comments on commit 3af1af4

Please sign in to comment.