You are here

uc_shipping_zones.install in Ubercart Global Quote 7

Same filename and directory in other branches
  1. 6 uc_shipping_zones/uc_shipping_zones.install

uc_shipping_zones installation file

File

uc_shipping_zones/uc_shipping_zones.install
View 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

Namesort descending Description
uc_shipping_zones_schema Implementation of hook_schema().