You are here

function user_badges_update_6101 in User Badges 7.3

Same name and namespace in other branches
  1. 6.2 user_badges.install \user_badges_update_6101()
  2. 6 user_badges.install \user_badges_update_6101()
  3. 7 user_badges.install \user_badges_update_6101()
  4. 7.2 user_badges.install \user_badges_update_6101()

Drop useless indexes.

File

./user_badges.install, line 236
@brief User Badges install file

Code

function user_badges_update_6101() {
  db_drop_index('user_badges_product', 'bid_nid');
  db_drop_index('user_badges_product', 'nid_bid');
  db_drop_index('user_badges_roles', 'bid_nid');
  db_drop_index('user_badges_roles', 'nid_bid');
  db_drop_index('user_badges_user', 'bid_uid_type');
}