Take care of minor schema differences between D6 and D7 versions

Created on 19 April 2012, over 13 years ago
Updated 12 December 2024, 10 months ago

After upgrading quicktabs from a D6 to the D7 version (using these patches, which should be committed soon, by the way: #1444418: Field 'style' doesn't have a default value during D6 to D7 upgrade β†’ #1444376: Unknown column 'renderer' in 'field list' error during D6 to D7 upgrade β†’ ), I see that there are some minor schema differences that aren't accounted for:

column hide_empty_tabs - difference on: size
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'size' => 'tiny', 'not null' => TRUE, 'default' => 0)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)
column default_tab - differences on: size, default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'size' => 'tiny', 'not null' => TRUE)
column renderer - difference on: default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => 255, 'not null' => TRUE)
actual: array('description' => 'The rendering mechanism.', 'type' => 'varchar', 'length' => '255', 'not null' => TRUE, 'default' => 'quicktabs')

They should be taken care of in a new update function. Patch attached.

πŸ› Bug report
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden iamEAP

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024