Adds mooli_id and resource relation to Release.
This commit is contained in:
@@ -23,6 +23,8 @@ class Release(Entity):
|
|||||||
"""Logically groups all files that belong to a certain release, such as
|
"""Logically groups all files that belong to a certain release, such as
|
||||||
parts of a movie, subtitles, nfo, trailers etc."""
|
parts of a movie, subtitles, nfo, trailers etc."""
|
||||||
files = OneToMany('File')
|
files = OneToMany('File')
|
||||||
|
mooli_id = Field(Integer)
|
||||||
|
resource = ManyToOne('Resource')
|
||||||
|
|
||||||
|
|
||||||
class File(Entity):
|
class File(Entity):
|
||||||
|
|||||||
Reference in New Issue
Block a user