function commerce_shipping_schema in Commerce Shipping 7.2
Same name and namespace in other branches
- 7 commerce_shipping.install \commerce_shipping_schema()
Implements hook_schema().
File
- ./
commerce_shipping.install, line 11 - Contains update hooks for the commerce_shipping module.
Code
function commerce_shipping_schema() {
$schema = array();
$schema['cache_commerce_shipping_rates'] = drupal_get_schema_unprocessed('system', 'cache');
$schema['cache_commerce_shipping_rates']['description'] = 'Cache table for the temporary storage of base calculated shipping rates for orders.';
$schema['cache_commerce_shipping_rates']['fields']['cid']['description'] = 'Primary Key: Order ID and shipping method the rates are for.';
return $schema;
}