X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FRelBuilder%2FCompat%2Fv0_07.pm;fp=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FRelBuilder%2FCompat%2Fv0_07.pm;h=b5d6cc24046eeee7d9d750b2905eba7b83111479;hb=f3cfe4e62286cc876440aec02e5c0b69e40d6ece;hp=0000000000000000000000000000000000000000;hpb=ceb53f72f8d9887c1fcca713a93734330b16138c;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_07.pm b/lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_07.pm new file mode 100644 index 0000000..b5d6cc2 --- /dev/null +++ b/lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_07.pm @@ -0,0 +1,41 @@ +package DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07; + +use strict; +use warnings; +use Class::C3; +use base 'DBIx::Class::Schema::Loader::RelBuilder'; +use Carp::Clan qw/^DBIx::Class/; + +our $VERSION = '0.08000'; + +sub _strip__id { + my ($self, $name) = @_; + + $name =~ s/_id\z//; + + return $name; +} + +=head1 NAME + +DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07 - RelBuilder for +compatibility with DBIx::Class::Schema::Loader version 0.07000 + +=head1 DESCRIPTION + +See L and +L. + +=head1 AUTHOR + +See L and L. + +=head1 LICENSE + +This library is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. + +=cut + +1; +# vim:et sts=4 sw=4 tw=0: