You are here

function uc_shipping_update_6006 in Ubercart 6.2

Add 'changed' column to uc_shipments

File

shipping/uc_shipping/uc_shipping.install, line 447
Install hooks for uc_shipping.module.

Code

function uc_shipping_update_6006() {
  $ret = array();
  db_add_field($ret, 'uc_shipments', 'changed', array(
    'description' => 'The Unix timestamp indicating the last time the shipment was modified.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}