Closed (fixed)
Project:
Workflow
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2009 at 13:41 UTC
Updated:
21 Jan 2009 at 02:50 UTC
Following error has been returned
user warning: BLOB/TEXT column 'options' can't have a default value query: CREATE TABLE workflows ( `wid` INT NOT NULL auto_increment, `name` VARCHAR(255) NOT NULL DEFAULT '', `tab_roles` VARCHAR(60) NOT NULL DEFAULT '', `options` LONGTEXT DEFAULT '', PRIMARY KEY (wid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in C:\KM.devns\includes\database.inc on line 515.
Look like a typo in your scheme declaration - you should remove 'default' => '' in line 32 in workflow.install file
Comments
Comment #1
lusid commentedThis is a similar issue that the Video module had, and should be fixable just by removing the default value from the install script for that field: http://drupal.org/node/143881
Default values for BLOB and TEXT fields were removed sometime in MySQL v5.x. You can find it in the documentation here:
http://dev.mysql.com/doc/refman/5.0/en/blob.html
Comment #2
jvandyk commentedCommitted; will appear in 6.x-1.1. Thanks!