primary_column
country_iso_code
=> {
data_type
=>
"char"
,
size
=> 2 };
column
scope
=> {
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 32 };
column
name
=> {
data_type
=>
"varchar"
,
size
=> 255 };
column
priority
=> {
data_type
=>
"integer"
,
default_value
=> 0 };
column
show_states
=> {
data_type
=>
"boolean"
,
default_value
=> 0 };
column
active
=> {
data_type
=>
"boolean"
,
default_value
=> 1 };
has_many
zone_countries
=>
"Interchange6::Schema::Result::ZoneCountry"
,
{
"foreign.country_iso_code"
=>
"self.country_iso_code"
};
many_to_many
zones
=>
"zone_countries"
,
"zone"
;
has_many
states
=>
"Interchange6::Schema::Result::State"
,
'country_iso_code'
;
1;