Schema inconsistent

designanddraft - July 24, 2008 - 22:06
Project:Webform
Version:6.x-2.1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

here is a copy of the schema report; is this a bug, or if it is usser error, how do i fix?

webform
column submit_text:
declared: array('type' => 'varchar', 'length' => 255, 'default' => )
actual: array('type' => 'varchar', 'length' => '255', 'not null' => FALSE)
column email:
declared: array('type' => 'varchar', 'length' => 255, 'default' => )
actual: array('type' => 'varchar', 'length' => '255', 'not null' => FALSE)
column email_from_name:
declared: array('type' => 'varchar', 'length' => 255, 'default' => )
actual: array('type' => 'varchar', 'length' => '255', 'not null' => FALSE)
column email_from_address:
declared: array('type' => 'varchar', 'length' => 255, 'default' => )
actual: array('type' => 'varchar', 'length' => '255', 'not null' => FALSE)
column email_subject:
declared: array('type' => 'varchar', 'length' => 255, 'default' => )
actual: array('type' => 'varchar', 'length' => '255', 'not null' => FALSE)
column submit_text: key 'not null' not set, ignoring inspected default value
column email: key 'not null' not set, ignoring inspected default value
column email_from_name: key 'not null' not set, ignoring inspected default value
column email_from_address: key 'not null' not set, ignoring inspected default value
column email_subject: key 'not null' not set, ignoring inspected default value
webform_component
column form_key:
declared: array('type' => 'varchar', 'length' => 128, 'default' => )
actual: array('type' => 'varchar', 'length' => '128', 'not null' => FALSE)
column name:
declared: array('type' => 'varchar', 'length' => 255, 'default' => )
actual: array('type' => 'varchar', 'length' => '255', 'not null' => FALSE)
column type:
declared: array('type' => 'varchar', 'length' => 16, 'default' => )
actual: array('type' => 'varchar', 'length' => '16', 'not null' => FALSE)
column form_key: key 'not null' not set, ignoring inspected default value
column name: key 'not null' not set, ignoring inspected default value
column type: key 'not null' not set, ignoring inspected default value
webform_submitted_data
column sid:
declared: array('type' => 'int', 'unsigned' => TRUE, 'default' => 0)
actual: array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'disp-width' => '10')

#1

quicksketch - July 25, 2008 - 15:34

Did you upgrade from a Drupal 5 site? The actual and defined schemas should be the same yes, but I don't think any of these inconsistencies will cause any problems currently. I'd like to get them cleaned up though for consistency.

#2

designanddraft - July 25, 2008 - 18:46

new install of v.6, let me know if there is any more info i can provide.

#3

quicksketch - August 8, 2008 - 03:22
Title:schema info issue or not?» Schema inconsistent
Category:support request» bug report

Marked #292722: db schema errors reported by schema module as duplicate.

#4

quicksketch - January 20, 2009 - 18:48
Status:active» duplicate

This has finally been corrected in #357476: Schema module reports table mismatch errors in webform and will be in the 2.5 release.

 
 

Drupal is a registered trademark of Dries Buytaert.