X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FLinerNotes.pm;h=013cf91193889cc0265ae78527f1f2c909360b33;hb=637ca936ff3aeee87af89aaaf75e2035c29576f8;hp=442a5c11bea183cff0c6819fe49f510df7e34772;hpb=11b78bd6f6d77f58d9c5ae301e94ca57e892f592;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/LinerNotes.pm b/t/lib/DBICTest/Schema/LinerNotes.pm index 442a5c1..013cf91 100644 --- a/t/lib/DBICTest/Schema/LinerNotes.pm +++ b/t/lib/DBICTest/Schema/LinerNotes.pm @@ -1,9 +1,18 @@ -package DBICTest::Schema::LinerNotes; +package # hide from PAUSE + DBICTest::Schema::LinerNotes; use base qw/DBIx::Class::Core/; DBICTest::Schema::LinerNotes->table('liner_notes'); -DBICTest::Schema::LinerNotes->add_columns(qw/liner_id notes/); +DBICTest::Schema::LinerNotes->add_columns( + 'liner_id' => { + data_type => 'integer', + }, + 'notes' => { + data_type => 'varchar', + size => 100, + }, +); DBICTest::Schema::LinerNotes->set_primary_key('liner_id'); 1;