__PACKAGE__->table('owners');
__PACKAGE__->add_columns(
- 'ownerid' => {
+ 'id' => {
data_type => 'integer',
is_auto_increment => 1,
},
size => '100',
},
);
-__PACKAGE__->set_primary_key('ownerid');
+__PACKAGE__->set_primary_key('id');
__PACKAGE__->has_many(books => "DBICTest::Schema::BooksInLibrary", "owner");