added the initial implementation of the Universal Message Store (UniStore)
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user