function uc_wishlist_update_7002 in UC Wish List 7
Update function used to add the description column.
File
- ./
uc_wishlist.install, line 168 - uc_wishlist installation routine. Creates uc_wishlists and uc_wishlist_products tables.
Code
function uc_wishlist_update_7002() {
if (!db_field_exists('uc_wishlists', 'description')) {
// Create a description column.
db_add_field('uc_wishlists', 'description', array(
'description' => 'The description of the wish list.',
'type' => 'text',
'size' => 'medium',
'not null' => TRUE,
));
}
}