diff --git a/couchpotato/model.py b/couchpotato/model.py index 1d166143..2b02c3b0 100644 --- a/couchpotato/model.py +++ b/couchpotato/model.py @@ -35,7 +35,7 @@ class File(Entity): part = Field(Integer) release = ManyToOne('Release') # Let's remember the size so we know about offline media. - size = Field(Integer) + size = Field(Integer, nullable=False) type = ManyToOne('FileType')