You are here

function mollie_payment_schema in Mollie Payment 7

Same name and namespace in other branches
  1. 7.2 mollie_payment.install \mollie_payment_schema()

Implements hook_schema().

File

./mollie_payment.install, line 10

Code

function mollie_payment_schema() {
  $schema['mollie_payment_payment_method_configurations'] = array(
    'description' => 'Configuration data for Mollie Payment payment methods.',
    'fields' => array(
      'pmid' => array(
        'description' => 'The pmid of the payment method within Payment.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
      'configuration' => array(
        'description' => 'Serialized representation of the configuration.',
        'type' => 'text',
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'pmid',
    ),
  );
  return $schema;
}