Closed (won't fix)
Project:
Panels
Version:
6.x-2.x-dev
Component:
Panel nodes
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 03:55 UTC
Updated:
17 Sep 2009 at 16:30 UTC
Schema module warning
panels_node.did is part of the primary key but is not specified to be 'not null'.
Primary key cant be null and why it is not serial?
panels_node.install
$schema['panels_node'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'css_id' => array(
'type' => 'varchar',
'length' => '255',
),
'did' => array(
'type' => 'int',
+ 'not null' => TRUE,
),
),
'primary key' => array('did'),
);
Comments
Comment #1
andypostAdditional Shema mismatch
panels_node
declared: array('type' => 'int', 'not null' => TRUE)
actual: array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'disp-width' => '11')
Comment #2
merlinofchaos commenteddisp-width? Is that even documented?
Comment #3
andypostSuppose it depends on unsigned or not for int (10 or 11 digits of display-width)
This and #342494: Schema fix - panels pages just a review reported by Schema module
Comment #4
hass commenteddisplay-widthis as I know generated by the MySQL Query Browser if you have resized the column while administering your DB. Nothing problematic and schema module should ignore this... I've also opened a case for this some days ago. See #345235: Ignore disp-width in schema comparison.Comment #5
merlinofchaos commentedPanels 2 is no longer available and is unsupported. Marking all Panels 2 issues won't fix.