Mercurial > snowl
diff extension/modules/datastore.js @ 51:7938fd5e956a
first version of river of news view that works
author | Myk Melez <myk@mozilla.org> |
---|---|
date | Wed, 07 May 2008 13:45:18 -0700 |
parents | c1e19ca9f364 |
children | 30739558a3e7 |
line wrap: on
line diff
--- a/extension/modules/datastore.js Sun May 04 19:54:47 2008 -0700 +++ b/extension/modules/datastore.js Wed May 07 13:45:18 2008 -0700 @@ -62,6 +62,7 @@ ] }, +/* parts: { type: TABLE_TYPE_FULLTEXT, columns: [ @@ -70,6 +71,7 @@ "content" ] }, +*/ attributes: { type: TABLE_TYPE_NORMAL, @@ -81,10 +83,11 @@ }, metadata: { - type: TABLE_TYPE_NORMAL, + type: TABLE_TYPE_FULLTEXT, columns: [ - "messageID INTEGER REFERENCES messages(id)", - "attributeID INTEGER REFERENCES attributes(id)", + "messageID INTEGER NOT NULL REFERENCES messages(id)", + "attributeID INTEGER NOT NULL REFERENCES attributes(id)", + "contentType TEXT NOT NULL", "value BLOB" ] }