Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
system
batch
column token - difference on: default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => 64, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => '64', 'not null' => TRUE, 'default' => '')
column timestamp - difference on: default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'not null' => TRUE, 'default' => 0)
date_format_type
indexes title: missing in database
registry
column filename - difference on: default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => 255, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => '255', 'not null' => TRUE, 'default' => '')
sessions
column uid - difference on: default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)
Comment | File | Size | Author |
---|---|---|---|
#10 | 1154820-system-schema-update-8.patch | 807 bytes | marcingy |
#8 | 1154820-system-schema-update-8.diff | 807 bytes | marcingy |
#1 | system-upgrade-schema-1154820.patch | 656 bytes | lyricnz |
Comments
Comment #1
lyricnz CreditAttribution: lyricnz commentedFix {date_format_type}.title and {registry}.filename.
Comment #2
catchComment #3
marcingy CreditAttribution: marcingy commentedThis fails when updating on a db where the index already exist, we need to first drop the index and then recreate. May the index creation should move into update.inc.
Comment #4
catchDropping and re-adding the index seems fine.
What do you mean by moving the index creation into update.inc?
Comment #6
marcingy CreditAttribution: marcingy commentedJust avoid the drop and add for existing d7 sites - so run in update_prepare_d7_bootstrap.
Comment #7
catchOh I see, I think I'd leave the drop and add in the new update - mainly because this is table won't have many records at all.
Comment #8
marcingy CreditAttribution: marcingy commentedThanks catch. New version including the index drop.
Comment #9
marcingy CreditAttribution: marcingy commentedThanks catch. New version including the index drop.
Comment #10
marcingy CreditAttribution: marcingy commentedFile failed to upload
Comment #11
lyricnz CreditAttribution: lyricnz commentedRTBC per #1154806-5: Comment Schema mismatch after upgrade D6 to D7
Comment #12
webchickCommitted to 7.x. Thanks!