diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-23 16:46:54 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-23 16:46:54 -0700 |
commit | 3adfe45f766f2d69f9957cbe6a552e79540c0326 (patch) | |
tree | 4c1e2d45b5a7a43a98e0c0f8537d56e886c19f62 /modules | |
parent | f8d8abe5be39eeed1c15f726a38dc850f8126fbf (diff) | |
download | brdo-3adfe45f766f2d69f9957cbe6a552e79540c0326.tar.gz brdo-3adfe45f766f2d69f9957cbe6a552e79540c0326.tar.bz2 |
Issue #1154820 by lyricnz, marcingy, Starminder: Fixed System Schema mismatch after upgrade D6 to D7.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.install | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ -2953,6 +2953,19 @@ function system_update_7070() { } /** + * 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. */ |