X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FFourKeys.pm;h=71659e6b4e837d394ca642fbc7fba0b2ee2c90cc;hb=200e1aebe2f8d1be34fc4597c5e549ebe5f6e54d;hp=be189529cee2874c5e7422fb04c5f57a14a36dcd;hpb=11b78bd6f6d77f58d9c5ae301e94ca57e892f592;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/FourKeys.pm b/t/lib/DBICTest/Schema/FourKeys.pm index be18952..71659e6 100644 --- a/t/lib/DBICTest/Schema/FourKeys.pm +++ b/t/lib/DBICTest/Schema/FourKeys.pm @@ -1,9 +1,15 @@ -package DBICTest::Schema::FourKeys; +package # hide from PAUSE + DBICTest::Schema::FourKeys; use base 'DBIx::Class::Core'; DBICTest::Schema::FourKeys->table('fourkeys'); -DBICTest::Schema::FourKeys->add_columns(qw/foo bar hello goodbye/); +DBICTest::Schema::FourKeys->add_columns( + 'foo' => { data_type => 'integer' }, + 'bar' => { data_type => 'integer' }, + 'hello' => { data_type => 'integer' }, + 'goodbye' => { data_type => 'integer' }, +); DBICTest::Schema::FourKeys->set_primary_key(qw/foo bar hello goodbye/); 1;