Commit 7695b364 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

1. Rename column "name" of table "jiveGroup" to "groupName". JM-67

2. Removed lastActiveDate field from mucRoom.
3. Changed index of table mucConversationLog


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@573 b35dd754-fafc-0310-a699-88a17e54d16e
parent a922856a
/*
* $RCSfile$
* $Revision$
* $Date$
......@@ -75,9 +75,9 @@ CREATE TABLE jiveVCard (
CREATE TABLE jiveGroup (
name NVARCHAR(100) NOT NULL,
groupName NVARCHAR(50) NOT NULL,
description NVARCHAR(255),
CONSTRAINT group_pk PRIMARY KEY (name)
CONSTRAINT group_pk PRIMARY KEY (groupName)
);
......@@ -129,7 +129,6 @@ CREATE TABLE mucRoom (
logEnabled INT NOT NULL,
subject NVARCHAR(100) NULL,
rolesToBroadcast INT NOT NULL,
lastActiveDate CHAR(15) NULL,
CONSTRAINT mucRoom__pk PRIMARY KEY (name)
);
......@@ -157,7 +156,7 @@ CREATE TABLE mucConversationLog (
subject NVARCHAR(255) NULL,
body NTEXT NULL
);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time, roomID);
CREATE INDEX mucLog_time_idx ON mucConversationLog (time);
/* 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