Adds RenameHistory.
This commit is contained in:
1 parent
33b30301fb
commit
92f30fbe47
1 file changed
+7
@@ -44,3 +44,10 @@ class FileType(Entity):
|
|||||||
identifier = Field(String(20), unique=True)
|
identifier = Field(String(20), unique=True)
|
||||||
name = Field(UnicodeString(255), nullable=False)
|
name = Field(UnicodeString(255), nullable=False)
|
||||||
files = OneToMany('File')
|
files = OneToMany('File')
|
||||||
|
|
||||||
|
|
||||||
|
class RenameHistory(Entity):
|
||||||
|
"""Remembers from where to where files have been moved."""
|
||||||
|
file = ManyToOne('File')
|
||||||
|
old = Field(String(255))
|
||||||
|
new = Field(String(255))
|
||||||
Reference in new issue
Block a user