Commit 0afc481e authored by Bill Lynch's avatar Bill Lynch Committed by bill

Made name field not null to make the primary key valid.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@110 b35dd754-fafc-0310-a699-88a17e54d16e
parent ec320fb3
......@@ -147,7 +147,7 @@ CREATE TABLE jiveProperty (
CREATE TABLE mucRoom (
roomID INTEGER NOT NULL,
name VARCHAR(50) NULL,
name VARCHAR(50) NOT NULL,
description VARCHAR(255),
canChangeSubject INTEGER NOT NULL,
maxUsers INTEGER NOT NULL,
......
......@@ -149,7 +149,7 @@ CREATE TABLE jiveProperty (
CREATE TABLE mucRoom (
roomID BIGINT NOT NULL,
name VARCHAR(50) NULL,
name VARCHAR(50) NOT NULL,
description VARCHAR(255),
canChangeSubject INTEGER NOT NULL,
maxUsers INTEGER NOT NULL,
......
......@@ -134,7 +134,7 @@ CREATE TABLE jiveProperty (
CREATE TABLE mucRoom (
roomID BIGINT NOT NULL,
name VARCHAR(50) NULL,
name VARCHAR(50) NOT NULL,
description VARCHAR(255),
canChangeSubject TINYINT NOT NULL,
maxUsers INTEGER NOT NULL,
......
......@@ -169,7 +169,7 @@ REM // MUC Tables
CREATE TABLE mucRoom(
roomID INT NOT NULL,
name VARCHAR2(50) NULL,
name VARCHAR2(50) NOT NULL,
description VARCHAR2(255),
canChangeSubject INTEGER NOT NULL,
maxUsers INTEGER NOT NULL,
......
......@@ -171,7 +171,7 @@ CREATE TABLE jiveProperty (
CREATE TABLE mucRoom (
roomID INTEGER NOT NULL,
name VARCHAR(50) NULL,
name VARCHAR(50) NOT NULL,
description VARCHAR(255),
canChangeSubject INTEGER NOT NULL,
maxUsers INTEGER NOT NULL,
......
......@@ -171,7 +171,7 @@ CREATE TABLE jiveProperty (
CREATE TABLE mucRoom (
roomID INT NOT NULL,
name NVARCHAR(50) NULL,
name NVARCHAR(50) NOT NULL,
description NVARCHAR(255),
canChangeSubject INT NOT NULL,
maxUsers 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