diff templates/classic/schema.py @ 3601:7b25567f0f54

indexing may be turned off for FileClass "content" now
author Richard Jones <richard@users.sourceforge.net>
date Thu, 27 Apr 2006 01:39:47 +0000
parents 7fb8cfe3c737
children 91008ec8f9a0
line wrap: on
line diff
--- a/templates/classic/schema.py	Thu Apr 06 06:01:35 2006 +0000
+++ b/templates/classic/schema.py	Thu Apr 27 01:39:47 2006 +0000
@@ -50,6 +50,7 @@
 
 # FileClass automatically gets this property in addition to the Class ones:
 #   content = String()    [saved to disk in <tracker home>/db/files/]
+#   type = String()       [MIME type of the content, default 'text/plain']
 msg = FileClass(db, "msg",
                 author=Link("user", do_journal='no'),
                 recipients=Multilink("user", do_journal='no'),
@@ -60,8 +61,7 @@
                 inreplyto=String())
 
 file = FileClass(db, "file",
-                name=String(),
-                type=String())
+                name=String())
 
 # IssueClass automatically gets these properties in addition to the Class ones:
 #   title = String()

Roundup Issue Tracker: http://roundup-tracker.org/