You are here

function basic_cart_payment_schema in Basic cart 7.3

Implements hook_schema().

File

basic_cart_payment/basic_cart_payment.install, line 10
Installation and uninstallation functions.

Code

function basic_cart_payment_schema() {
  $schema['basic_cart_order_payment'] = array(
    'description' => 'TODO: please describe this table!',
    'fields' => array(
      'oid' => array(
        'description' => 'The order ID.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'pid' => array(
        'description' => 'The payment ID.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'oid',
      'pid',
    ),
  );
  return $schema;
}