diff --git a/modules/system/system.install b/modules/system/system.install index b662040d6d3a15847426ed42181d7d5048d814f6..e067444604dce39df4909e36e21847f6f758a748 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2952,6 +2952,19 @@ function system_update_7070() { variable_del('drupal_badge_size'); } +/** + * Add index missed during upgrade, and fix field default. + */ +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, + )); +} + /** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000.