Attempt to reproduce reported mysql error (failed) - fixed another bug in ResultSetCo...
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Owners.pm
index 0c05b1d..70af33c 100644 (file)
@@ -5,7 +5,7 @@ use base qw/DBICTest::BaseResult/;
 
 __PACKAGE__->table('owners');
 __PACKAGE__->add_columns(
-  'ownerid' => {
+  'id' => {
     data_type => 'integer',
     is_auto_increment => 1,
   },
@@ -14,7 +14,7 @@ __PACKAGE__->add_columns(
     size      => '100',
   },
 );
-__PACKAGE__->set_primary_key('ownerid');
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(books => "DBICTest::Schema::BooksInLibrary", "owner");