X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FTag.pm;fp=t%2Flib%2FDBICTest%2FSchema%2FTag.pm;h=5b4eb208204471d60debb5026a63dd10fa6ec23e;hb=333cce60480be0ebce201d37e2bfb18601b54404;hp=0a303d6b40efbd5dc090035505320386793a6a94;hpb=3cecb111042690c33e0007aaa4f706c69eb737ac;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Tag.pm b/t/lib/DBICTest/Schema/Tag.pm index 0a303d6..5b4eb20 100644 --- a/t/lib/DBICTest/Schema/Tag.pm +++ b/t/lib/DBICTest/Schema/Tag.pm @@ -2,10 +2,12 @@ package DBICTest::Schema::Tag; use base qw/DBIx::Class::Core/; +__PACKAGE__->load_components('PK::Auto'); + DBICTest::Schema::Tag->table('tags'); DBICTest::Schema::Tag->add_columns( 'tagid' => { - data_type => 'varchar', + data_type => 'integer', is_auto_increment => 1, }, 'cd' => {