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)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lyricnz’s picture

Version: 7.0 » 7.x-dev
Status: Active » Needs review
FileSize
656 bytes

Fix {date_format_type}.title and {registry}.filename.

catch’s picture

Priority: Normal » Major
Issue tags: +D7 upgrade path
marcingy’s picture

Status: Needs review » Needs work

This 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.

catch’s picture

Dropping and re-adding the index seems fine.

What do you mean by moving the index creation into update.inc?

marcingy’s picture

Just avoid the drop and add for existing d7 sites - so run in update_prepare_d7_bootstrap.

catch’s picture

Oh 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.

marcingy’s picture

Status: Needs work » Needs review
FileSize
807 bytes

Thanks catch. New version including the index drop.

marcingy’s picture

Thanks catch. New version including the index drop.

marcingy’s picture

File failed to upload

lyricnz’s picture

Status: Needs review » Reviewed & tested by the community
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.