mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Added some missing NOT NULL restrictions
SVN Revision: 952
This commit is contained in:
parent
0bb936f848
commit
665abff588
@ -1,3 +1,9 @@
|
||||
2007-09-28 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
* src/odbc/mysql.sql: Added some missing NOT NULL restrictions
|
||||
* src/odbc/mssql.sql: Likewise
|
||||
* src/odbc/pg.sql: Likewise
|
||||
|
||||
2007-09-27 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
* src/ejabberdctl.template: apply rootdir patch from Badlop (EJAB-385)
|
||||
|
@ -118,7 +118,7 @@ GO
|
||||
CREATE TABLE [dbo].[spool] (
|
||||
[id] [numeric](19, 0) IDENTITY (1, 1) NOT NULL ,
|
||||
[username] [varchar] (250) NOT NULL ,
|
||||
[xml] [text] NULL ,
|
||||
[xml] [text] NOT NULL ,
|
||||
[notifyprocessed] [bit] NULL ,
|
||||
[created] [datetime] NULL ,
|
||||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||||
|
@ -20,9 +20,9 @@ CREATE TABLE rosterusers (
|
||||
nick text NOT NULL,
|
||||
subscription character(1) NOT NULL,
|
||||
ask character(1) NOT NULL,
|
||||
askmessage text,
|
||||
askmessage text NOT NULL,
|
||||
server character(1) NOT NULL,
|
||||
subscribe text,
|
||||
subscribe text NOT NULL,
|
||||
type text
|
||||
) CHARACTER SET utf8;
|
||||
|
||||
@ -41,7 +41,7 @@ CREATE INDEX pk_rosterg_user_jid ON rostergroups(username(75), jid(75));
|
||||
|
||||
CREATE TABLE spool (
|
||||
username varchar(250) NOT NULL,
|
||||
xml text,
|
||||
xml text NOT NULL,
|
||||
seq BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
|
||||
) CHARACTER SET utf8;
|
||||
|
||||
|
@ -40,7 +40,7 @@ CREATE INDEX pk_rosterg_user_jid ON rostergroups USING btree (username, jid);
|
||||
|
||||
CREATE TABLE spool (
|
||||
username text NOT NULL,
|
||||
xml text,
|
||||
xml text NOT NULL,
|
||||
seq SERIAL
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user