paypal_payment_pps.install in PayPal for Payment 7
Installation and uninstallation functions.
File
paypal_payment_pps/paypal_payment_pps.installView source
<?php
/**
* @file
* Installation and uninstallation functions.
*/
/**
* Implements hook_schema().
*/
function paypal_payment_pps_schema() {
$schema['paypal_payment_pps_payment_method'] = array(
'fields' => array(
'capture' => array(
'type' => 'int',
'size' => 'tiny',
'default' => 0,
'not null' => TRUE,
),
'email_address' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'pmid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'server' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
),
'primary key' => array(
'pmid',
),
'unique keys' => array(
'pmid' => array(
'pmid',
),
),
);
return $schema;
}
Functions
Name | Description |
---|---|
paypal_payment_pps_schema | Implements hook_schema(). |