From 59f84df52fe0008b45b06fe06ac5bf294fb5b501 Mon Sep 17 00:00:00 2001 From: alshain Date: Fri, 11 Feb 2011 00:57:58 +0100 Subject: [PATCH] Adds mooli_id and resource relation to Release. --- couchpotato/model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/couchpotato/model.py b/couchpotato/model.py index 98800983..c0b1ee87 100644 --- a/couchpotato/model.py +++ b/couchpotato/model.py @@ -23,6 +23,8 @@ class Release(Entity): """Logically groups all files that belong to a certain release, such as parts of a movie, subtitles, nfo, trailers etc.""" files = OneToMany('File') + mooli_id = Field(Integer) + resource = ManyToOne('Resource') class File(Entity):