You are here

function uc_addresses_update_2 in Ubercart Addresses 6

Same name and namespace in other branches
  1. 5.2 uc_addresses.install \uc_addresses_update_2()
  2. 5 uc_addresses.install \uc_addresses_update_2()

Second update: add nickname field.

File

./uc_addresses.install, line 170
Installation file of Ubercart Addresses

Code

function uc_addresses_update_2() {
  $items = array();
  $items[] = update_sql("ALTER TABLE {uc_addresses} ADD COLUMN address_name VARCHAR(20) DEFAULT NULL AFTER country");
  return $items;
}