Skip to content

Commit 70a70a6

Browse files
committed
Make completed_cells column nullable
1 parent 1a46b8d commit 70a70a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_scheduler/orm.py

Lines changed: 1 addition & 1 deletion
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-
completed_cells = Column(Integer)
106+
completed_cells = Column(Integer, nullable=True)
107107
# All new columns added to this table must be nullable to ensure compatibility during database migrations.
108108
# Any default values specified for new columns will be ignored during the migration process.
109109

0 commit comments

Comments
 (0)