You are here

function commerce_registration_install in Commerce Registration 7.2

Same name and namespace in other branches
  1. 7.3 commerce_registration.install \commerce_registration_install()

Implements hook_install().

File

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

Code

function commerce_registration_install() {

  // Add the new commerce order ID field to registrations.
  db_add_field("registration", "order_id", array(
    'description' => 'The order associated with this registration, if any.',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
}