--- a/server/test/data/schema.py Thu Jul 02 16:13:05 2015 +0200
+++ b/server/test/data/schema.py Thu Jul 02 10:15:47 2015 +0200
@@ -162,6 +162,22 @@
})
+class Email(EntityType):
+ subject = String(fulltextindexed=True)
+ messageid = String(required=True, indexed=True, unique=True)
+ sender = SubjectRelation('EmailAddress', cardinality='?*')
+ recipients = SubjectRelation('EmailAddress')
+ attachment = SubjectRelation('File')
+
+
+class EmailPart(EntityType):
+ pass
+
+
+class EmailThread(EntityType):
+ see_also = SubjectRelation('EmailThread')
+
+
class connait(RelationType):
symmetric = True