added the initial implementation of the Universal Message Store (UniStore)

This commit is contained in:
Eric J. Bowersox
2003-06-10 20:33:45 +00:00
parent bbd46e4dc7
commit 7727dc61dd
21 changed files with 4025 additions and 4 deletions

View File

@@ -93,6 +93,13 @@
</dictionary>
</object>
<object name="unistore" classname="com.silverwrist.dynamo.unistore.UniStoreManager" priority="5">
<database connection="data" namespaces="nscache"/>
<security object="srm"/>
<user-manager object="users"/>
<message-cache hardlimit="100" softlimit="1000"/>
</object>
<!-- Presentation and interface objects -->
<object name="remapper" classname="com.silverwrist.dynamo.servlet.RemapperData" priority="0">
<remap path="/verifyemail">

View File

@@ -274,7 +274,7 @@ CREATE TABLE us_text (
last_read DATETIME, # timestamp of when it was last read
data MEDIUMTEXT, # the text (16 Mb available)
PRIMARY KEY (msgid, part),
INDEX by_name (msgid, ident_nsid, ident_name)
UNIQUE INDEX by_name (msgid, ident_nsid, ident_name)
);
# UniStore: Text message part properties
@@ -300,7 +300,7 @@ CREATE TABLE us_binary (
last_read DATETIME, # timestamp of when it was last read
data MEDIUMBLOB, # the actual data (16 Mb of space available)
PRIMARY KEY (msgid, part),
INDEX by_name (msgid, ident_nsid, ident_name)
UNIQUE INDEX by_name (msgid, ident_nsid, ident_name)
);
# UniStore: Binary message part properties