function system_update_7071
Add index missed during upgrade, and fix field default.
Related topics
Archivo
- drupal-7.x/
modules/ system/ system.install, line 3034 - Install, update and uninstall functions for the system module.
Código
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,
));
}