function system_update_7071

Add index missed during upgrade, and fix field default.

Related topics

File

drupal/modules/system/system.install, line 3141
Install, update and uninstall functions for the system module.

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,
  ));
}