line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MojoMojo::Schema::Result::WantedPage; |
2
|
|
|
|
|
|
|
|
3
|
40
|
|
|
40
|
|
63185
|
use strict; |
|
40
|
|
|
|
|
102
|
|
|
40
|
|
|
|
|
1157
|
|
4
|
40
|
|
|
40
|
|
325
|
use warnings; |
|
40
|
|
|
|
|
209
|
|
|
40
|
|
|
|
|
1135
|
|
5
|
|
|
|
|
|
|
|
6
|
40
|
|
|
40
|
|
307
|
use parent qw/MojoMojo::Schema::Base::Result/; |
|
40
|
|
|
|
|
95
|
|
|
40
|
|
|
|
|
251
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->load_components( "Core" ); |
9
|
|
|
|
|
|
|
__PACKAGE__->table("wanted_page"); |
10
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("id"); |
19
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
1; |