You are here

function uc_addresses_update_2 in Ubercart Addresses 5

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

Second update: add nickname field.

File

./uc_addresses.install, line 93

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;
}