* src/odbc/mssql.sql: Nickname cannot be null in rosterusers table (MSSQL)

* src/odbc/mysql.sql: Likewise
* src/odbc/pg.sql: Likewise

SVN Revision: 809
This commit is contained in:
Mickaël Rémond 2007-07-09 17:22:09 +00:00
parent 03fde5d50c
commit 3fe646c3cb
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2007-07-09 Mickael Remond <mickael.remond@process-one.net>
* src/odbc/mssql.sql: Nickname cannot be null in rosterusers table
(MSSQL)
* src/odbc/mysql.sql: Likewise
* src/odbc/pg.sql: Likewise
2007-06-29 Mickael Remond <mickael.remond@process-one.net> 2007-06-29 Mickael Remond <mickael.remond@process-one.net>
* src/ejabberd_config.erl: Normalize hostnames in config file. If mixed * src/ejabberd_config.erl: Normalize hostnames in config file. If mixed

View File

@ -105,7 +105,7 @@ GO
CREATE TABLE [dbo].[rosterusers] ( CREATE TABLE [dbo].[rosterusers] (
[username] [varchar] (250) NOT NULL , [username] [varchar] (250) NOT NULL ,
[jid] [varchar] (250) NOT NULL , [jid] [varchar] (250) NOT NULL ,
[nick] [varchar] (50) NULL , [nick] [varchar] (50) NOT NULL ,
[subscription] [char] (1) NOT NULL , [subscription] [char] (1) NOT NULL ,
[ask] [char] (1) NOT NULL , [ask] [char] (1) NOT NULL ,
[askmessage] [varchar] (250) NOT NULL , [askmessage] [varchar] (250) NOT NULL ,

View File

@ -17,7 +17,7 @@ CREATE TABLE last (
CREATE TABLE rosterusers ( CREATE TABLE rosterusers (
username varchar(250) NOT NULL, username varchar(250) NOT NULL,
jid varchar(250) NOT NULL, jid varchar(250) NOT NULL,
nick text, nick text NOT NULL,
subscription character(1) NOT NULL, subscription character(1) NOT NULL,
ask character(1) NOT NULL, ask character(1) NOT NULL,
askmessage text, askmessage text,

View File

@ -15,7 +15,7 @@ CREATE TABLE last (
CREATE TABLE rosterusers ( CREATE TABLE rosterusers (
username text NOT NULL, username text NOT NULL,
jid text NOT NULL, jid text NOT NULL,
nick text, nick text NOT NULL,
subscription character(1) NOT NULL, subscription character(1) NOT NULL,
ask character(1) NOT NULL, ask character(1) NOT NULL,
askmessage text NOT NULL, askmessage text NOT NULL,