function system_update_7071

Add index missed during upgrade, and fix field default.

Related topics

File

modules/system/system.install, line 3191

Code

function system_update_7071() {
    db_drop_index('date_format_type', 'title');
    db_add_index('date_format_type', 'title', array(
        'title',
    ));
    db_change_field('registry', 'filename', 'filename', array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.