function system_update_7071
7.x system.install | system_update_7071() |
Add index missed during upgrade, and fix field default.
Related topics
File
- drupal-7.x/
modules/ system/ system.install, line 3035 - 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,
));
}