You are here

function commerce_registration_schema_alter in Commerce Registration 7

Same name and namespace in other branches
  1. 7.3 commerce_registration.install \commerce_registration_schema_alter()
  2. 7.2 commerce_registration.install \commerce_registration_schema_alter()

Implements hook_schema_alter().

File

./commerce_registration.install, line 12
Commerce Registration install file.

Code

function commerce_registration_schema_alter(&$schema) {
  $schema['registration']['fields']['order_id'] = array(
    'description' => 'The order associated with this registration, if any.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  );
}