function uc_stripe_schema in Ubercart Stripe 7.3
Same name and namespace in other branches
- 6 uc_stripe.install \uc_stripe_schema()
- 7 uc_stripe.install \uc_stripe_schema()
Implements hook_schema().
File
- ./
uc_stripe.install, line 110 - Installation file for the uc_stripe module.
Code
function uc_stripe_schema() {
$schema['uc_stripe_pending_auth'] = array(
'description' => 'Ubercart Stripe - Track orders pending authentication',
'fields' => array(
'id' => array(
'description' => 'id of entry',
'type' => 'serial',
'not null' => TRUE,
),
'order_id' => array(
'description' => 'Order Id of pending order',
'type' => 'int',
'not null' => TRUE,
),
'rfee_id' => array(
'description' => 'Recurring Fee Id of pending order',
'type' => 'int',
'not null' => TRUE,
),
'completed' => array(
'description' => 'Competion status of this pending order',
'type' => 'int',
'not null' => TRUE,
),
'hash' => array(
'description' => 'The unqiue has of order and payment id',
'type' => 'varchar',
'length' => '100',
'not null' => TRUE,
),
),
'unique keys' => array(
'hash' => array(
'hash',
),
),
'primary key' => array(
'id',
),
);
return $schema;
}