You are here

function system_update_7071 in Drupal 7

Add index missed during upgrade, and fix field default.

Related topics

File

modules/system/system.install, line 3172
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,
  ));
}