NAME

Sample::Schema::Result::Customer

COMPONENTS LOADED

TABLE: customers

ACCESSORS

customer_id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0

person_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

first_purchase

data_type: 'datetime'
is_nullable: 0

PRIMARY KEY

UNIQUE CONSTRAINTS

person_id_unique

RELATIONS

orders

Type: has_many

Related object: Sample::Schema::Result::Order

person

Type: belongs_to

Related object: Sample::Schema::Result::Person