Skip to content

Commit 440dfd1

Browse files
committed
change depends_on and tasks data type to not limit the size
1 parent f18071e commit 440dfd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_scheduler/orm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class Job(CommonColumns, Base):
103103
url = Column(String(256), default=generate_jobs_url)
104104
pid = Column(Integer)
105105
idempotency_token = Column(String(256))
106-
depends_on = Column(JsonType(1024))
106+
depends_on = Column(JsonType)
107107
workflow_id = Column(String(36))
108108
# All new columns added to this table must be nullable to ensure compatibility during database migrations.
109109
# Any default values specified for new columns will be ignored during the migration process.
@@ -113,7 +113,7 @@ class Workflow(Base):
113113
__tablename__ = "workflows"
114114
__table_args__ = {"extend_existing": True}
115115
workflow_id = Column(String(36), primary_key=True, default=generate_uuid)
116-
tasks = Column(JsonType(1024))
116+
tasks = Column(JsonType)
117117
status = Column(String(64), default=Status.CREATED)
118118
# All new columns added to this table must be nullable to ensure compatibility during database migrations.
119119
# Any default values specified for new columns will be ignored during the migration process.

0 commit comments

Comments
 (0)