Add categories to settings
This commit is contained in:
@@ -213,15 +213,21 @@ class Category(Entity):
|
||||
|
||||
label = Field(Unicode(50))
|
||||
order = Field(Integer, default = 0, index = True)
|
||||
core = Field(Boolean, default = False)
|
||||
hide = Field(Boolean, default = False)
|
||||
|
||||
movie = OneToMany('Movie')
|
||||
path = Field(Unicode(255))
|
||||
required = Field(Unicode(255))
|
||||
preferred = Field(Unicode(255))
|
||||
ignored = Field(Unicode(255))
|
||||
|
||||
|
||||
movie = OneToMany('Movie')
|
||||
destination = ManyToOne('Destination')
|
||||
|
||||
|
||||
class Destination(Entity):
|
||||
""""""
|
||||
|
||||
path = Field(Unicode(255))
|
||||
|
||||
category = OneToMany('Category')
|
||||
|
||||
|
||||
class ProfileType(Entity):
|
||||
""""""
|
||||
@@ -288,13 +294,6 @@ class Notification(Entity):
|
||||
data = Field(JsonType)
|
||||
|
||||
|
||||
class Folder(Entity):
|
||||
"""Renamer destination folders."""
|
||||
|
||||
path = Field(Unicode(255))
|
||||
label = Field(Unicode(255))
|
||||
|
||||
|
||||
class Properties(Entity):
|
||||
|
||||
identifier = Field(String(50), index = True)
|
||||
|
||||
Reference in New Issue
Block a user