You are here

function invoice_update_7001 in Invoice 7

Implements hook_update_N()

File

./invoice.install, line 230

Code

function invoice_update_7001() {
  db_add_field('invoice_customers', 'state', array(
    'type' => 'varchar',
    'length' => 50,
    'not null' => FALSE,
  ));
  db_add_field('invoice_templates', 'supplier_state', array(
    'type' => 'varchar',
    'length' => 100,
    'not null' => FALSE,
  ));
  return t('Successfully added the customer and supplier state column.');
}