Make size not nullable on File.
This commit is contained in:
@@ -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