Make size not nullable on File.
This commit is contained in:
1 parent
ce5a91eaa7
commit
b6c4e451b4
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user