NAME

Interchange6::Schema::Result::Address

TABLE: addresses

ACCESSORS

addresses_id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'addresses_addresses_id_seq'

users_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

type

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

archived

data_type: 'boolean'
default_value: false
is_nullable: 0

first_name

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

last_name

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

company

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

address

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

address_2

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

postal_code

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

city

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

phone

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

state_iso_code

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

country_iso_code

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

created

data_type: 'datetime'
set_on_create: 1
is_nullable: 0

last_modified

data_type: 'datetime'
set_on_create: 1
set_on_update: 1
is_nullable: 0

PRIMARY KEY

RELATIONS

OrderlinesShipping

Type: has_many

Related object: Interchange6::Schema::Result::OrderlinesShipping

Order

Type: has_many

Related object: Interchange6::Schema::Result::Order

User

Type: belongs_to

Related object: Interchange6::Schema::Result::User

Orderlines

Type: many_to_many

Composing rels: "OrderlinesShipping" -> Orderline