Commit | Line | Data |
ccf9b8a6 |
1 | package DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | use base 'DBIx::Class::Schema::Loader::RelBuilder'; |
6 | use mro 'c3'; |
7 | |
8 | =head1 NAME |
9 | |
10 | DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07 - RelBuilder for |
11 | compatibility with DBIx::Class::Schema::Loader version 0.07000 |
12 | |
13 | =head1 DESCRIPTION |
14 | |
15 | See L<DBIx::Class::Schema::Loader::Base/naming> and |
16 | L<DBIx::Class::Schema::Loader::RelBuilder>. |
17 | |
18 | =cut |
19 | |
22f91663 |
20 | our $VERSION = '0.07019'; |
ccf9b8a6 |
21 | |
22 | sub _strip_id_postfix { |
23 | my ($self, $name) = @_; |
24 | |
25 | $name =~ s/_id\z//; |
26 | |
27 | return $name; |
28 | } |
29 | |
30 | =head1 AUTHOR |
31 | |
32 | See L<DBIx::Class::Schema::Loader/AUTHOR> and L<DBIx::Class::Schema::Loader/CONTRIBUTORS>. |
33 | |
34 | =head1 LICENSE |
35 | |
36 | This library is free software; you can redistribute it and/or modify it under |
37 | the same terms as Perl itself. |
38 | |
39 | =cut |
40 | |
41 | 1; |
42 | # vim:et sts=4 sw=4 tw=0: |