System updates from 5.x to 6.x

Functions

NameLocationDescription
blogapi_update_6000drupal-6/modules/blogapi/blogapi.installInform users about the new permission.
blogapi_update_6001drupal-6/modules/blogapi/blogapi.installAdd blogapi_files table to enable size restriction for BlogAPI file uploads.
locale_update_6000drupal-6/modules/locale/locale.install{locales_meta} table became {languages}.
locale_update_6001drupal-6/modules/locale/locale.installChange locale column to language. The language column is added by update_fix_d6_requirements() in update.php to avoid a large number of error messages from update.php. All we need to do here is copy locale to language and then drop locale.
locale_update_6002drupal-6/modules/locale/locale.installRemove empty translations, we don't need these anymore.
locale_update_6003drupal-6/modules/locale/locale.installPrune strings with no translations (will be automatically re-registered if still in use)
locale_update_6004drupal-6/modules/locale/locale.installFix remaining inconsistent indexes.
locale_update_6005drupal-6/modules/locale/locale.installChange language setting variable of content types.
locale_update_6006drupal-6/modules/locale/locale.installNeutralize unsafe language names in the database.
system_update_6000drupal-6/modules/system/system.installRemove auto_increment from {boxes} to allow adding custom blocks with visibility settings.
system_update_6001drupal-6/modules/system/system.installAdd version id column to {term_node} to allow taxonomy module to use revisions.
system_update_6002drupal-6/modules/system/system.installIncrease the maximum length of variable names from 48 to 128.
system_update_6003drupal-6/modules/system/system.installAdd index on comments status column.
system_update_6004drupal-6/modules/system/system.installThis update used to add an index on users created column (#127941). However, system_update_1022() does the same thing. This update tried to detect if 1022 had already run but failed to do so, resulting in an "index already exists" error.
system_update_6005drupal-6/modules/system/system.installAdd language to url_alias table and modify indexes.
system_update_6006drupal-6/modules/system/system.installDrop useless indices on node_counter table.
system_update_6007drupal-6/modules/system/system.installChange the severity column in the watchdog table to the new values.
system_update_6008drupal-6/modules/system/system.installAdd info files to themes. The info and owner columns are added by update_fix_d6_requirements() in update.php to avoid a large number of error messages from update.php. All we need to do here is copy description to owner and then drop description.
system_update_6009drupal-6/modules/system/system.installThe PHP filter is now a separate module.
system_update_6010drupal-6/modules/system/system.installAdd variable replacement for watchdog messages.
system_update_6011drupal-6/modules/system/system.installAdd language support to nodes
system_update_6012drupal-6/modules/system/system.installAdd serialized field to cache tables. This is now handled directly by update.php, so this function is a no-op.
system_update_6013drupal-6/modules/system/system.installRebuild cache data for theme system changes
system_update_6014drupal-6/modules/system/system.installRecord that the installer is done, so it is not possible to run the installer on upgraded sites.
system_update_6015drupal-6/modules/system/system.installAdd the form cache table.
system_update_6016drupal-6/modules/system/system.installMake {node}'s primary key be nid, change nid,vid to a unique key. Add primary keys to block, filters, flood, permission, and term_relation.
system_update_6017drupal-6/modules/system/system.installRename settings related to user.module email notifications.
system_update_6018drupal-6/modules/system/system.installAdd HTML corrector to HTML formats or replace the old module if it was in use.
system_update_6019drupal-6/modules/system/system.installReconcile small differences in the previous, manually created mysql and pgsql schemas so they are the same and can be represented by a single schema structure.
system_update_6020drupal-6/modules/system/system.installCreate the tables for the new menu system.
system_update_6021drupal-6/modules/system/system.installMigrate the menu items from the old menu system to the new menu_links table.
system_update_6022drupal-6/modules/system/system.installUpdate files tables to associate files to a uid by default instead of a nid. Rename file_revisions to upload since it should only be used by the upload module used by upload to link files to nodes.
system_update_6024drupal-6/modules/system/system.installAdd translation fields to nodes used by translation module.
system_update_6025drupal-6/modules/system/system.installIncrease the maximum length of node titles from 128 to 255.
system_update_6026drupal-6/modules/system/system.installDisplay warning about new Update status module.
system_update_6027drupal-6/modules/system/system.installAdd block cache.
system_update_6028drupal-6/modules/system/system.installAdd the node load cache table.
system_update_6029drupal-6/modules/system/system.installEnable the dblog module on sites that upgrade, since otherwise watchdog logging will stop unexpectedly.
system_update_6030drupal-6/modules/system/system.installAdd the tables required by actions.inc.
system_update_6031drupal-6/modules/system/system.installEnsure that installer cannot be run again after updating from Drupal 5.x to 6.x Actually, this is already done by system_update_6014(), so this is now a no-op.
system_update_6032drupal-6/modules/system/system.installprofile_fields.name used to be nullable but is part of a unique key and so shouldn't be.
system_update_6033drupal-6/modules/system/system.installChange node_comment_statistics to be not autoincrement.
system_update_6034drupal-6/modules/system/system.installRename permission "administer access control" to "administer permissions".
system_update_6035drupal-6/modules/system/system.installChange index on system table for better performance.
system_update_6036drupal-6/modules/system/system.installChange the search schema and indexing.
system_update_6037drupal-6/modules/system/system.installCreate consistent empty region for disabled blocks.
system_update_6038drupal-6/modules/system/system.installEnsure that "Account" is not used as a Profile category.
system_update_6039drupal-6/modules/system/system.installRename permissions "edit foo content" to "edit any foo content". Also update poll module permission "create polls" to "create poll content".
system_update_6040drupal-6/modules/system/system.installAdd a weight column to the upload table.
system_update_6041drupal-6/modules/system/system.installChange forum vocabulary not to be required by default and set the weight of the forum.module 1 higher than the taxonomy.module.
system_update_6042drupal-6/modules/system/system.installUpgrade recolored theme stylesheets to new array structure.
system_update_6043drupal-6/modules/system/system.installUpdate table indices to make them more rational and useful.
system_update_6044drupal-6/modules/system/system.installRC1 to RC2 index cleanup.
system_update_6045drupal-6/modules/system/system.installUpdate blog, book and locale module permissions.
system_update_6046drupal-6/modules/system/system.installEnsure that the file_directory_path variable is set (using the old 5.x default, if necessary), so that the changed 6.x default won't break existing sites.
system_update_6047drupal-6/modules/system/system.installFix cache mode for blocks inserted in system_install() in fresh installs of previous RC.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options