You are here

function commerce_cop_update_7001 in Commerce Custom Offline Payments 7

Add 'fieldable' columns to the 'commerce_custom_offline_payment' table for for Drupal Commerce Payment Transaction Fields.

See also

https://drupal.org/project/commerce_payment_fields

File

./commerce_cop.install, line 117
Install functions.

Code

function commerce_cop_update_7001() {

  // 'fieldable' table field.
  $field = array(
    'description' => '',
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field('commerce_custom_offline_payment', 'fieldable', $field);
}