Commit 5f1f3438 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Column type NULL is now explicit.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3477 b35dd754-fafc-0310-a699-88a17e54d16e
parent 91d31a55
......@@ -5,8 +5,8 @@
CREATE TABLE jiveUser (
username NVARCHAR(32) NOT NULL,
password NVARCHAR(32) NOT NULL,
name NVARCHAR(100),
email VARCHAR(100),
name NVARCHAR(100) NULL,
email VARCHAR(100) NULL,
creationDate CHAR(15) NOT NULL,
modificationDate CHAR(15) NOT NULL,
CONSTRAINT jiveUser_pk PRIMARY KEY (username)
......@@ -48,7 +48,7 @@ CREATE TABLE jiveRoster (
sub INTEGER NOT NULL,
ask INTEGER NOT NULL,
recv INTEGER NOT NULL,
nick NVARCHAR(255),
nick NVARCHAR(255) NULL,
CONSTRAINT jiveRoster_pk PRIMARY KEY (rosterID)
);
CREATE INDEX jiveRoster_username_idx ON jiveRoster (username ASC);
......@@ -73,7 +73,7 @@ CREATE TABLE jiveVCard (
CREATE TABLE jiveGroup (
groupName NVARCHAR(50) NOT NULL,
description NVARCHAR(255),
description NVARCHAR(255) NULL,
CONSTRAINT group_pk PRIMARY KEY (groupName)
);
......@@ -115,14 +115,14 @@ CREATE TABLE jiveVersion (
CREATE TABLE jiveExtComponentConf (
subdomain NVARCHAR(255) NOT NULL,
secret NVARCHAR(255),
secret NVARCHAR(255) NULL,
permission NVARCHAR(10) NOT NULL,
CONSTRAINT jiveExtComponentConf_pk PRIMARY KEY (subdomain)
);
CREATE TABLE jiveRemoteServerConf (
domain NVARCHAR(255) NOT NULL,
remotePort INTEGER,
remotePort INTEGER NULL,
permission NVARCHAR(10) NOT NULL,
CONSTRAINT jiveRemoteServerConf_pk PRIMARY KEY (domain)
);
......@@ -144,7 +144,7 @@ CREATE TABLE mucRoom (
modificationDate CHAR(15) NOT NULL,
name NVARCHAR(50) NOT NULL,
naturalName NVARCHAR(255) NOT NULL,
description NVARCHAR(255),
description NVARCHAR(255) NULL,
lockedDate CHAR(15) NOT NULL,
emptyDate CHAR(15) NULL,
canChangeSubject INT NOT NULL,
......
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