34 calls to db_add_index()

aggregator_update_7002 in modules/aggregator/aggregator.install
Add queued timestamp.
aggregator_update_7003 in modules/aggregator/aggregator.install
Increase the length of {aggregator_feed}.url.
aggregator_update_7004 in modules/aggregator/aggregator.install
Add index on timestamp.
comment_update_7002 in modules/comment/comment.install
Rename {comments} table to {comment} and upgrade it.
comment_update_7003 in modules/comment/comment.install
Split {comment}.timestamp into 'created' and 'changed', improve indexing on {comment}.
comment_update_7004 in modules/comment/comment.install
Upgrade the {node_comment_statistics} table.
comment_update_7007 in modules/comment/comment.install
Add an index to the created column.
comment_update_7008 in modules/comment/comment.install
Update database to match Drupal 7 schema.
dblog_update_7001 in modules/dblog/dblog.install
Update the {watchdog} table.
dblog_update_7002 in modules/dblog/dblog.install
Add an index to the severity column in the watchdog database table.
field_sql_storage_field_storage_update_field in modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_update_field().
field_sql_storage_update_7001 in modules/field/modules/field_sql_storage/field_sql_storage.install
Remove the field_config_entity_type table and store 'entity_type' strings.
forum_update_7000 in modules/forum/forum.install
Add new index to forum table.
forum_update_7002 in modules/forum/forum.install
Add new index to forum_index table.
forum_update_7003 in modules/forum/forum.install
Rename field to 'taxonomy_forums'.
forum_update_7012 in modules/forum/forum.install
Add 'created' and 'last_comment_timestamp' indexes.
locale_update_7000 in modules/locale/locale.install
Add context field index and allow longer location.
node_update_7002 in modules/node/node.install
Extend the node_promote_status index to include all fields required for the node page query.
node_update_7014 in modules/node/node.install
Add an index on {node}.language.
node_update_7016 in modules/node/node.install
Change {history}.nid to an unsigned int in order to match {node}.nid.
poll_update_7001 in modules/poll/poll.install
Use the poll_choice primary key to record votes in poll_votes rather than the choice order. Rename chorder to weight.
SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
system_update_7018 in modules/system/system.install
Shorten the {system}.type column and modify indexes.
system_update_7032 in modules/system/system.install
Alter field hostname to identifier in the {flood} table.
system_update_7042 in modules/system/system.install
Upgrade the {url_alias} table and create a cache bin for path aliases.
system_update_7045 in modules/system/system.install
Add expiration field to the {flood} table.
system_update_7062 in modules/system/system.install
Replace 'system_list' index with 'bootstrap' index on {system}.
system_update_7071 in modules/system/system.install
Add index missed during upgrade, and fix field default.
taxonomy_update_7007 in modules/taxonomy/taxonomy.install
Add index on {taxonomy_term_data}.name column to speed up taxonomy_get_term_by_name().
update_fix_d7_requirements in includes/update.inc
Perform Drupal 6.x to 7.x updates that are required for update.php to function properly.
user_update_7007 in modules/user/user.install
Add a weight column to user roles.
user_update_7018 in modules/user/user.install
Ensure there is an index on {users}.picture.
user_update_7019 in modules/user/user.install
Ensure there is a combined index on {authmap}.uid and {authmap}.module.
user_update_7020 in modules/user/user.install
Add changed field to users table.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.