X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FTrack.pm;h=a6de595d45d7ad0b8d2b132aca8580fe27b2f6ba;hb=c0678cfc834ffbaebc2860104bec62008fe82b8d;hp=948597d776f5191e2e8af5cad666974b06cedea6;hpb=2adb95f6e8d18d6d531b9baf3e0e816a26f00ce4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Track.pm b/t/lib/DBICTest/Schema/Track.pm index 948597d..a6de595 100644 --- a/t/lib/DBICTest/Schema/Track.pm +++ b/t/lib/DBICTest/Schema/Track.pm @@ -34,11 +34,6 @@ __PACKAGE__->add_columns( data_type => 'smalldatetime', is_nullable => 1 }, - increment => { - data_type => 'integer', - is_nullable => 1, - accessor => '_increment', - } ); __PACKAGE__->set_primary_key('trackid'); @@ -55,20 +50,4 @@ __PACKAGE__->belongs_to( disc => 'DBICTest::Schema::CD' => 'cd'); __PACKAGE__->might_have( cd_single => 'DBICTest::Schema::CD', 'single_track' ); __PACKAGE__->might_have( lyrics => 'DBICTest::Schema::Lyrics', 'track_id' ); -sub increment { - my $self = shift; - if(@_) { - return $self->_increment($_[0] + 1); - } - return $self->_increment(); -} - -sub set_increment { - my $self = shift; - if(@_) { - return $self->_increment($_[0]); - } - return $self->_increment(); -} - 1;