You are here

function pay_node_update_6002 in Pay 6

Same name and namespace in other branches
  1. 7 modules/pay_node/pay_node.install \pay_node_update_6002()

Add a the pay_transaction_node table.

File

modules/pay_node/pay_node.install, line 58
Install, update and uninstall functions for the Pay Node module.

Code

function pay_node_update_6002() {
  $table = array(
    'fields' => array(
      'pxid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
      ),
      'nid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
      ),
    ),
    'primary key' => array(
      'pxid',
      'nid',
    ),
  );
  db_create_table($ret, 'pay_transaction_node', $table);
  return $ret;
}