From 3adfe45f766f2d69f9957cbe6a552e79540c0326 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 23 May 2011 16:46:54 -0700 Subject: Issue #1154820 by lyricnz, marcingy, Starminder: Fixed System Schema mismatch after upgrade D6 to D7. --- modules/system/system.install | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index b662040d6..e06744460 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. -- cgit v1.2.3