Commit e5b7c66a authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added new index to mucConversationLog table. JM-40

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@563 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3194d9e5
......@@ -155,6 +155,7 @@ CREATE TABLE mucConversationLog (
subject VARCHAR(255) NULL,
body LONG VARCHAR NULL
);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time, roomID);
-- Finally, insert default table values
......
......@@ -166,6 +166,7 @@ CREATE TABLE mucConversationLog (
subject VARCHAR(255) NULL,
body LONGVARCHAR NULL
);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time, roomID);
// Finally, insert default table values.
......
......@@ -141,7 +141,8 @@ CREATE TABLE mucConversationLog (
nickname VARCHAR(255) NULL,
time CHAR(15) NOT NULL,
subject VARCHAR(255) NULL,
body TEXT NULL
body TEXT NULL,
INDEX mucLog_time_idx (time, roomID)
);
# Finally, insert default table values.
......
......@@ -150,6 +150,7 @@ CREATE TABLE mucConversationLog (
subject VARCHAR2(255) NULL,
body VARCHAR2(4000) NULL
);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time, roomID);
REM // Finally, insert default table values.
......
......@@ -157,6 +157,7 @@ CREATE TABLE mucConversationLog (
subject VARCHAR(255) NULL,
body TEXT NULL
);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time, roomID);
-- Finally, insert default table values.
......
......@@ -157,6 +157,7 @@ CREATE TABLE mucConversationLog (
subject NVARCHAR(255) NULL,
body NVARCHAR(3700) NULL
);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time, roomID);
/* Finally, insert default table values. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment