X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FOwners.pm;h=0c05b1dc2bf193b20c6784cf0c2b0226dbcc79b0;hb=ab807c129724c2be1ce02acf8a5c8f68d149421d;hp=acaf5ed1a358de179a9a60f3b504c606ba815a71;hpb=78060df8cb43cafd81304f386d7111510a4b8f9d;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Owners.pm b/t/lib/DBICTest/Schema/Owners.pm index acaf5ed..0c05b1d 100644 --- a/t/lib/DBICTest/Schema/Owners.pm +++ b/t/lib/DBICTest/Schema/Owners.pm @@ -1,21 +1,21 @@ -package # hide from PAUSE - DBICTest::Schema::Owners; - -use base qw/DBIx::Class::Core/; - -__PACKAGE__->table('owners'); -__PACKAGE__->add_columns( - 'ownerid' => { - data_type => 'integer', - is_auto_increment => 1, - }, - 'name' => { - data_type => 'varchar', - size => '100', - }, -); -__PACKAGE__->set_primary_key('ownerid'); - -__PACKAGE__->has_many(books => "DBICTest::Schema::BooksInLibrary", "owner"); - -1; +package # hide from PAUSE + DBICTest::Schema::Owners; + +use base qw/DBICTest::BaseResult/; + +__PACKAGE__->table('owners'); +__PACKAGE__->add_columns( + 'ownerid' => { + data_type => 'integer', + is_auto_increment => 1, + }, + 'name' => { + data_type => 'varchar', + size => '100', + }, +); +__PACKAGE__->set_primary_key('ownerid'); + +__PACKAGE__->has_many(books => "DBICTest::Schema::BooksInLibrary", "owner"); + +1;