Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/olpc/datastore/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/olpc/datastore/model.py')
-rw-r--r--src/olpc/datastore/model.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/olpc/datastore/model.py b/src/olpc/datastore/model.py
index 14bb4b9..7c8afdc 100644
--- a/src/olpc/datastore/model.py
+++ b/src/olpc/datastore/model.py
@@ -360,6 +360,8 @@ defaultModel = Model().addFields(
('language', 'string'),
('ctime', 'date'),
('mtime', 'date'),
+ # Better store the timestamp instead of date strings
+ ('timestamp', 'int'),
# this will just be a space delimited list of tags
# indexed with the content
# I give them high weight as they have user given semantic value.
@@ -375,4 +377,3 @@ defaultModel = Model().addFields(
('buddies', 'text'),
)
-