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

mooffie’s picture

Status: Reviewed & tested by the community » Fixed

Is not possible have a scheme with 'not null' laue set to false and 'default' set

I 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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.