uc_shipping_zones.install in Ubercart Global Quote 7
Same filename and directory in other branches
uc_shipping_zones installation file
File
uc_shipping_zones/uc_shipping_zones.installView source
<?php
/**
* @file
* uc_shipping_zones installation file
*/
/**
* Implementation of hook_schema().
*/
function uc_shipping_zones_schema() {
$schema['uc_shipping_zones'] = array(
'description' => '',
'fields' => array(
'zid' => array(
'type' => 'serial',
'not null' => TRUE,
),
'name' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'countries' => array(
'type' => 'text',
'not null' => FALSE,
),
'regions' => array(
'type' => 'text',
'not null' => FALSE,
),
),
'primary key' => array(
'zid',
),
);
return $schema;
}
Functions
Name![]() |
Description |
---|---|
uc_shipping_zones_schema | Implementation of hook_schema(). |