You are here

function commerce_invoice_update_7201 in Commerce Invoice 7.2

Add due skip_sequence field to {commerce_invoice_number_pattern} table.

File

./commerce_invoice.install, line 278
Install and uninstall functions for the Commerce Invoice module.

Code

function commerce_invoice_update_7201() {
  $field = array(
    'description' => 'Boolean indicating whether to skip the sequence number or not.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field('commerce_invoice_number_pattern', 'skip_sequence', $field);
}