DBIC/Schema/Rule.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package WWW::RobotRules::DBIC::Schema::Rule;
2  
3 # Created by DBIx::Class::Schema::Loader v0.03007 @ 2006-10-18 11:53:27
4  
5 use strict;
6 use warnings;
7  
8 use base 'DBIx::Class';
9  
10 __PACKAGE__->load_components("PK::Auto", "+WWW::RobotRules::DBIC::Schema::DateTime", "Core");
11 __PACKAGE__->table("rule");
12 __PACKAGE__->add_columns(
13 "id",
14 { data_type => "INT", default_value => undef, is_nullable => 0, size => 10 },
15 "netloc_id",
16 { data_type => "INT", default_value => "", is_nullable => 0, size => 10 },
17 "rule",
18 { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 255 },
19 "created_on",
20 {
21 data_type => "DATETIME",
22 default_value => undef,
23 is_nullable => 1,
24 size => 19,
25 },
26 );
27 __PACKAGE__->set_primary_key("id");
28 __PACKAGE__->add_unique_constraint("netloc_id", ["netloc_id", "rule"]);
29 __PACKAGE__->belongs_to('netloc', 'WWW::RobotRules::DBIC::Schema::Netloc', 'netloc_id');
30  
31 1;
32