Commit 0dac604f authored by Matt Tucker's avatar Matt Tucker Committed by matt

Added jiveID table for storing properties in the database.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@71 b35dd754-fafc-0310-a699-88a17e54d16e
parent 76dcf0ce
......@@ -129,13 +129,20 @@ CREATE TABLE jiveGroupUser (
CONSTRAINT jiveGrpUser PRIMARY KEY (groupID, userID, administrator)
);
CREATE TABLE jiveID (
idType INTEGER NOT NULL,
id INTEGER NOT NULL,
CONSTRAINT jiveID_pk PRIMARY KEY (idType)
);
CREATE TABLE jiveProperty (
name VARCHAR(100) NOT NULL,
propValue VARCHAR(3000) NOT NULL,
CONSTRAINT jiveProperty_pk PRIMARY KEY (name)
);
-- MUC tables
CREATE TABLE mucRoom (
......
......@@ -138,6 +138,13 @@ CREATE TABLE jiveID (
CONSTRAINT jiveID_pk PRIMARY KEY (idType)
);
CREATE TABLE jiveProperty (
name VARCHAR(100) NOT NULL,
propValue VARCHAR(4000) NOT NULL,
CONSTRAINT jiveProperty_pk PRIMARY KEY (name)
);
// MUC Tables
CREATE TABLE mucRoom (
......
......@@ -124,6 +124,12 @@ CREATE TABLE jiveID (
PRIMARY KEY (idType)
);
CREATE TABLE jiveProperty (
name VARCHAR(100) NOT NULL,
propValue TEXT NOT NULL,
PRIMARY KEY (name)
);
# MUC Tables
CREATE TABLE mucRoom (
......
......@@ -159,6 +159,12 @@ CREATE TABLE jiveID (
CONSTRAINT jiveID_pk PRIMARY KEY (idType)
);
CREATE TABLE jiveProperty (
name VARCHAR2(100) NOT NULL,
propValue VARCHAR2(4000) NOT NULL,
CONSTRAINT jiveProperty_pk PRIMARY KEY (name)
);
REM // MUC Tables
CREATE TABLE mucRoom(
......
......@@ -161,6 +161,12 @@ CREATE TABLE jiveID (
CONSTRAINT jiveID_pk PRIMARY KEY (idType)
);
CREATE TABLE jiveProperty (
name VARCHAR(100) NOT NULL,
propValue VARCHAR(4000) NOT NULL,
CONSTRAINT jiveProperty_pk PRIMARY KEY (name)
);
-- MUC Tables
CREATE TABLE mucRoom (
......
......@@ -161,6 +161,12 @@ CREATE TABLE jiveID (
CONSTRAINT jiveID_pk PRIMARY KEY (idType)
);
CREATE TABLE jiveProperty (
name NVARCHAR(100) NOT NULL,
propValue NTEXT NOT NULL,
CONSTRAINT jiveProperty_pk PRIMARY KEY (name)
);
/* MUC Tables */
CREATE TABLE mucRoom (
......
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