Schema/Result/FeedTagMap.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Schema/Result/Feed.pm ↑ Summary Schema/Result/Tag.pm »
1 package IronMan::Schema::Result::FeedTagMap;
2
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use base qw/DBIx::Class/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 __PACKAGE__->load_components(qw/Core/);
8  
9 4 __PACKAGE__->table('feed_tag_map');
10 4 __PACKAGE__->add_columns(
11 feed => {
12 data_type => 'integer',
13 },
14 tag => {
15 data_type => 'integer',
16 }
17 );
18  
19 4 __PACKAGE__->set_primary_key(qw/feed tag/);
20  
21 4 __PACKAGE__->belongs_to( feed => 'IronMan::Schema::Result::Feed' );
22 4 __PACKAGE__->belongs_to( tag => 'IronMan::Schema::Result::Tag' );
23  
24 4 1;
« Schema/Result/Feed.pm ↑ Summary Schema/Result/Tag.pm »