X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FSerialized.pm;h=1de158e19e5ce553443e25b50de9cc8d87356dc4;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=687dcd1bd244b4d880451247bb211511f2e95faf;hpb=11357d09a80364da23aefbb5650da15a768505a8;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Serialized.pm b/t/lib/DBICTest/Schema/Serialized.pm index 687dcd1..1de158e 100644 --- a/t/lib/DBICTest/Schema/Serialized.pm +++ b/t/lib/DBICTest/Schema/Serialized.pm @@ -1,11 +1,14 @@ -package # hide from PAUSE +package # hide from PAUSE DBICTest::Schema::Serialized; -use base 'DBIx::Class::Core'; +use warnings; +use strict; + +use base qw/DBICTest::BaseResult/; __PACKAGE__->table('serialized'); __PACKAGE__->add_columns( - 'id' => { data_type => 'integer' }, + 'id' => { data_type => 'integer', is_auto_increment => 1 }, 'serialized' => { data_type => 'text' }, ); __PACKAGE__->set_primary_key('id');