The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Interchange6::Schema::Result::State

TABLE: states

DESCRIPTION

ISO 3166-2 codes for sub_country identification "states"

state_id:

scope: Internal sorting field.

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

state_iso_code: Alpha state code such as 'ny' = New York.

name: Full state name.

priority: Display sorting.

active: Is this state a shipping destination? Default is true.

ACCESSORS

state_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

scope

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

country_iso_code

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

state_iso_code

  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

active

  data_type: 'boolean'
  default_value: true
  is_nullable: 0

PRIMARY KEY

RELATIONS

user

Type: belongs_to

Related object: Interchange6::Schema::Result::Country