NAME

Interchange6::Schema::Result::Country

TABLE: countries

DESCRIPTION

ISO 3166-1 codes for country identification

country_iso_code: Two letter country code such as 'SI' = Slovenia.

scope: Internal sorting field.

name: Full country name.

priority: Display order.

active: Active shipping destination? Default is false.

ACCESSORS

country_iso_code

data_type: 'char'
default_value: (empty string)
is_nullable: 0
size: 2

scope

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

name

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

priority

data_type: 'integer'
default_value: 0
is_nullable: 0

show_state

data_type: 'boolean'
default_value: false
is_nullable: 0

active

data_type: 'boolean'
default_value: true
is_nullable: 0

PRIMARY KEY

RELATIONSHIPS

zone_countries

has_many relationship with Interchange6::Schema::Result::ZoneCountry

zones

many_to_many relationship with Interchange6::Schema::Result::Zone

states

has_many relationship with Interchange6::Schema::Result::State