function payment_ubercart_schema in Payment for Ubercart 7.2
Same name and namespace in other branches
- 7 payment_ubercart.install \payment_ubercart_schema()
Implements hook_schema().
File
- ./
payment_ubercart.install, line 11 - Installation and uninstallation functions.
Code
function payment_ubercart_schema() {
$schema['payment_ubercart'] = array(
'fields' => array(
'pid' => array(
'type' => 'int',
'not null' => TRUE,
),
'uc_order_id' => array(
'type' => 'int',
'not null' => TRUE,
),
),
'primary key' => array(
'pid',
),
'unique keys' => array(
'uc_order_id' => array(
'pid',
'uc_order_id',
),
),
);
return $schema;
}