in what circumstances c->model would return undef. when the DB and schema exist?
Schema
package AddressBook::Schema::AddressDB::Result::Address;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->load_components("InflateColumn::DateTime");
=head1 NAME
AddressBook::Schema::AddressDB::Result::Address
=cut
__PACKAGE__->table("addresses");
=head1 ACCESSORS
=head2 id
data_type: 'integer'
is_nullable: 0
=head2 person
data_type: 'integer'
is_nullable: 0
=head2 location
data_type: 'varchar'
is_nullable: 1
size: 20
=head2 postal
data_type: 'text'
is_nullable: 1
=head2 phone
data_type: 'varchar'
is_nullable: 1
size: 20
=head2 email
data_type: 'varchar'
is_nullable: 1
size: 100
=cut
__PACKAGE__->add_columns(
"id",
{ data_type => "integer", is_nullable => 0 },
"person",
{ data_type => "integer", is_nullable => 0 },
"location",
{ data_type => "varchar", is_nullable => 1, size => 20 },
"postal",
{ data_type => "text", is_nullable => 1 },
"phone",
{ data_type => "varchar", is_nullable => 1, size => 20 },
"email",
{ data_type => "varchar", is_nullable => 1, size => 100 },
);
__PACKAGE__->set_primary_key("id");
__PACKAGE__->belongs_to(
person => 'AddressBook::Schema::AddressDB::Result::People');
# Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-01-04 14:50:1
+5
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LXbQtPHwvP3E1JP8yppNhQ
# You can replace this text with custom content, and it will be preser
+ved on regeneration
1;
|