function pay_node_update_6002 in Pay 7
Same name and namespace in other branches
- 6 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 51 - 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('pay_transaction_node', $table);
return t('Added the pay_transaction_node table.');
}