Closed (fixed)
Project:
Flag
Version:
6.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Dec 2008 at 14:57 UTC
Updated:
22 Dec 2008 at 16:32 UTC
Is not possible have a scheme with 'not null' laue set to false and 'default' set, please change, into flag.install from:
function flag_schema() {
$schema = array();
$schema['flags'] = array(
'fields' => array(
// ...
'options' => array(
'type' => 'text',
),
),
// ...
);
Comments
Comment #1
mooffie commentedI don't think you're correct here.
However, that 'options' column does have a problem: text/blob fields cannot have 'default'.
I removed that 'default' (I also added an explicit
'not null' => FALSE, though it's so by default and thus unneeded, because other definitions in our schema too have it). Thanks.http://drupal.org/cvs?commit=157646