Active
Project:
Profile role
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2010 at 07:33 UTC
Updated:
17 Mar 2011 at 12:28 UTC
Hello,
There's a schema mismatch in your .install
column category - difference on: not null
declared: array('description' => t('TODO: please describe this field!'), 'type' => 'varchar', 'length' => 255, 'not null' => FALSE, 'default' => '')
actual: array('description' => t('TODO: please describe this field!'), 'type' => 'varchar', 'length' => '255', 'not null' => TRUE, 'default' => '')
Cheers,
Comments
Comment #1
aidanlis commentedAlso from the schema module:
profile_role.category is part of the primary key but is not specified to be 'not null'.
Comment #2
not_Dries_Buytaert commentedSame here, when following the path 'admin/build/schema/compare' after the module schema-6.x-1.7 (http://drupal.org/project/schema) is installed and enabled. This quote from the file 'profile_role.install' reveals that the 'not null' attribute of the 'category' field in the 'profile_role' table is set to FALSE in the database schema definition:
However, it is set to TRUE in the live/ actual database scheme. I think (but am unsure) that the definition needs correcting, because the category of the profile role may be empty.
Comment #3
achtonStill seeing this in current dev version, is that right?
Comment #4
daniel wentsch commentedSubscribing