You are here

function uc_wishlist_update_6000 in UC Wish List 6

Implementations of hook_update_N().

File

./uc_wishlist.install, line 135
uc_wishlist installation routine. Creates uc_wishlists and uc_wishlist_products tables.

Code

function uc_wishlist_update_6000() {
  $ret = array();

  // Change uc_wishlists.wid to a serial.
  // Default auto_increment value to db_next_id('{uc_wishlists}_wid');
  // Change uc_wishlists.uid to a varchar(255).
  // Change uc_wishlists.title to a varchar(255).
  // Change uc_wishlists.date to uc_wishlists.expiration.
  // Add index for uid.
  // Change uc_wishlist_products.wpid to a serial.
  // Default auto_increment value to db_next_id('{uc_wishlist_products}_wpid');
  // Add index for wid.
  return $ret;
}