X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FFourKeys.pm;h=f9112faa039fc18cf20936ab8572f1d9f34652a0;hb=38a0b4ff620ef7405b5bd14ad81165cb91bde3b7;hp=2069280fd463218e66ff3e259fb019bbea3ff3dc;hpb=a02675cd9a11e1f354220319da9f5d573a2e484a;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/FourKeys.pm b/t/lib/DBICTest/Schema/FourKeys.pm index 2069280..f9112fa 100644 --- a/t/lib/DBICTest/Schema/FourKeys.pm +++ b/t/lib/DBICTest/Schema/FourKeys.pm @@ -1,9 +1,14 @@ -package DBICTest::FourKeys; +package DBICTest::Schema::FourKeys; use base 'DBIx::Class::Core'; -DBICTest::FourKeys->table('fourkeys'); -DBICTest::FourKeys->add_columns(qw/foo bar hello goodbye/); -DBICTest::FourKeys->set_primary_key(qw/foo bar hello goodbye/); +DBICTest::Schema::FourKeys->table('fourkeys'); +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;