diff --git a/couchpotato/core/settings/model.py b/couchpotato/core/settings/model.py index d9e11a1e..4b96bfe6 100644 --- a/couchpotato/core/settings/model.py +++ b/couchpotato/core/settings/model.py @@ -45,6 +45,16 @@ class Library(Entity): movies = OneToMany('Movie') titles = OneToMany('LibraryTitle') files = ManyToMany('File') + info = OneToMany('LibraryInfo') + + +class LibraryInfo(Entity): + """""" + + identifier = Field(String(50)) + value = Field(Unicode(255), nullable = False) + + library = ManyToOne('Library') class LibraryTitle(Entity):