You are here

function invoice_update_7003 in Invoice 7

Implements hook_update_N()

File

./invoice.install, line 212

Code

function invoice_update_7003() {
  db_change_field('invoice_items', 'weight', 'weight', array(
    'type' => 'int',
    'size' => 'tiny',
    'unsigned' => FALSE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return t('Successfully set unsigned to false on invoice_items.weight column.');
}