Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
database.inc
»
db_add_index
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
33 calls to db_add_index()
aggregator_update_7002
in drupal/
modules/
aggregator/
aggregator.install
Add queued timestamp.
aggregator_update_7003
in drupal/
modules/
aggregator/
aggregator.install
Increase the length of {aggregator_feed}.url.
aggregator_update_7004
in drupal/
modules/
aggregator/
aggregator.install
Add index on timestamp.
comment_update_7002
in drupal/
modules/
comment/
comment.install
Rename {comments} table to {comment} and upgrade it.
comment_update_7003
in drupal/
modules/
comment/
comment.install
Split {comment}.timestamp into 'created' and 'changed', improve indexing on {comment}.
comment_update_7004
in drupal/
modules/
comment/
comment.install
Upgrade the {node_comment_statistics} table.
comment_update_7007
in drupal/
modules/
comment/
comment.install
Add an index to the created column.
comment_update_7008
in drupal/
modules/
comment/
comment.install
Update database to match Drupal 7 schema.
dblog_update_7001
in drupal/
modules/
dblog/
dblog.install
Update the {watchdog} table.
dblog_update_7002
in drupal/
modules/
dblog/
dblog.install
Add an index to the severity column in the watchdog database table.
field_sql_storage_field_storage_update_field
in drupal/
modules/
field/
modules/
field_sql_storage/
field_sql_storage.module
Implements
hook_field_storage_update_field
().
field_sql_storage_update_7001
in drupal/
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 drupal/
modules/
forum/
forum.install
Add new index to forum table.
forum_update_7002
in drupal/
modules/
forum/
forum.install
Add new index to forum_index table.
forum_update_7003
in drupal/
modules/
forum/
forum.install
Rename field to 'taxonomy_forums'.
forum_update_7012
in drupal/
modules/
forum/
forum.install
Add 'created' and 'last_comment_timestamp' indexes.
locale_update_7000
in drupal/
modules/
locale/
locale.install
Add context field index and allow longer location.
node_update_7002
in drupal/
modules/
node/
node.install
Extend the node_promote_status index to include all fields required for the node page query.
node_update_7014
in drupal/
modules/
node/
node.install
Add an index on {node}.language.
node_update_7016
in drupal/
modules/
node/
node.install
Change {history}.nid to an unsigned int in order to match {node}.nid.
poll_update_7001
in drupal/
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 drupal/
modules/
simpletest/
tests/
schema.test
system_update_7018
in drupal/
modules/
system/
system.install
Shorten the {system}.type column and modify indexes.
system_update_7032
in drupal/
modules/
system/
system.install
Alter field hostname to identifier in the {flood} table.
system_update_7042
in drupal/
modules/
system/
system.install
Upgrade the {url_alias} table and create a cache bin for path aliases.
system_update_7045
in drupal/
modules/
system/
system.install
Add expiration field to the {flood} table.
system_update_7062
in drupal/
modules/
system/
system.install
Replace 'system_list' index with 'bootstrap' index on {system}.
system_update_7071
in drupal/
modules/
system/
system.install
Add index missed during upgrade, and fix field default.
taxonomy_update_7007
in drupal/
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 drupal/
includes/
update.inc
Perform Drupal 6.x to 7.x updates that are required for
update.php
to function properly.
user_update_7007
in drupal/
modules/
user/
user.install
Add a weight column to user roles.
user_update_7018
in drupal/
modules/
user/
user.install
Ensure there is an index on {users}.picture.
user_update_7019
in drupal/
modules/
user/
user.install
Ensure there is a combined index on {authmap}.uid and {authmap}.module.