diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2007-09-28 13:33:27 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2007-09-28 13:33:27 +0000 |
commit | 665abff5880b74b1ef66cb26a4ebf6a02f901a62 (patch) | |
tree | 63d95a482ff216e92e945fee5dc64db161c48368 /src/odbc/mysql.sql | |
parent | apply rootdir patch from Badlop (EJAB-385) (diff) |
Added some missing NOT NULL restrictions
SVN Revision: 952
Diffstat (limited to '')
-rw-r--r-- | src/odbc/mysql.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/odbc/mysql.sql b/src/odbc/mysql.sql index 5ba85a723..20c53b577 100644 --- a/src/odbc/mysql.sql +++ b/src/odbc/mysql.sql @@ -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; |