lib/MojoMojo/Schema/Result/WantedPage.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/MojoMojo/Schema/Result/RolePrivilege.pm ↑ Summary lib/MojoMojo/View/Email.pm »
1 package MojoMojo::Schema::Result::WantedPage;
2  
3 40 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 40 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 40 ▶use parent qw/MojoMojo::Schema::Base::Result/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 40 __PACKAGE__->load_components( "Core" );
9 40 __PACKAGE__->table("wanted_page");
10 40 __PACKAGE__->add_columns(
11 "id",
12 { data_type => "INTEGER", is_nullable => 0, size => undef, is_auto_increment => 1 },
13 "from_page",
14 { data_type => "INTEGER", is_nullable => 0, size => undef },
15 "to_path",
16 { data_type => "TEXT", is_nullable => 0, size => 4000 },
17 );
18 40 __PACKAGE__->set_primary_key("id");
19 40 __PACKAGE__->belongs_to( "from_page", "MojoMojo::Schema::Result::Page", { id => "from_page" } );
20  
21 =head1 NAME
22  
23 MojoMojo::Schema::Result::WantedPage - store pages that are wanted
24  
25 =head1 AUTHOR
26  
27 Marcus Ramberg <mramberg@cpan.org>
28  
29 =head1 LICENSE
30  
31 This library is free software. You can redistribute it and/or modify
32 it under the same terms as Perl itself.
33  
34 =cut
35  
36 40 1;
« lib/MojoMojo/Schema/Result/RolePrivilege.pm ↑ Summary lib/MojoMojo/View/Email.pm »