#106266 by webchick. Blob and text columns can't have default values in MySQL.

5.x
Neil Drumm 2007-01-02 05:30:29 +00:00
parent dfd86399c0
commit f58b4e1a5a
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ function contact_install() {
db_query("CREATE TABLE {contact} (
cid int unsigned NOT NULL auto_increment,
category varchar(255) NOT NULL default '',
recipients longtext NOT NULL default '',
reply longtext NOT NULL default '',
recipients longtext NOT NULL,
reply longtext NOT NULL,
weight tinyint NOT NULL default '0',
selected tinyint NOT NULL default '0',
PRIMARY KEY (cid),