File Coverage

blib/lib/Bio/Chado/Schema/Result/Expression/FeatureExpressionprop.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Bio::Chado::Schema::Result::Expression::FeatureExpressionprop;
2             BEGIN {
3 6     6   2609 $Bio::Chado::Schema::Result::Expression::FeatureExpressionprop::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   101 $Bio::Chado::Schema::Result::Expression::FeatureExpressionprop::VERSION = '0.08001'; # TRIAL
7             }
8              
9             # Created by DBIx::Class::Schema::Loader
10             # DO NOT MODIFY THE FIRST PART OF THIS FILE
11              
12 6     6   37 use strict;
  6         15  
  6         102  
13 6     6   35 use warnings;
  6         15  
  6         142  
14              
15 6     6   26 use base 'DBIx::Class::Core';
  6         13  
  6         963  
16              
17              
18              
19             __PACKAGE__->table("feature_expressionprop");
20              
21              
22             __PACKAGE__->add_columns(
23             "feature_expressionprop_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "feature_expressionprop_feature_expressionprop_id_seq",
29             },
30             "feature_expression_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "type_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             "value",
35             { data_type => "text", is_nullable => 1 },
36             "rank",
37             { data_type => "integer", default_value => 0, is_nullable => 0 },
38             );
39             __PACKAGE__->set_primary_key("feature_expressionprop_id");
40             __PACKAGE__->add_unique_constraint(
41             "feature_expressionprop_c1",
42             ["feature_expression_id", "type_id", "rank"],
43             );
44              
45              
46             __PACKAGE__->belongs_to(
47             "feature_expression",
48             "Bio::Chado::Schema::Result::Expression::FeatureExpression",
49             { "feature_expression_id" => "feature_expression_id" },
50             {
51             cascade_copy => 0,
52             cascade_delete => 0,
53             is_deferrable => 1,
54             on_delete => "CASCADE",
55             on_update => "CASCADE",
56             },
57             );
58              
59              
60             __PACKAGE__->belongs_to(
61             "type",
62             "Bio::Chado::Schema::Result::Cv::Cvterm",
63             { cvterm_id => "type_id" },
64             {
65             cascade_copy => 0,
66             cascade_delete => 0,
67             is_deferrable => 1,
68             on_delete => "CASCADE",
69             on_update => "CASCADE",
70             },
71             );
72              
73              
74             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
75             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SfHx5rVC5ZDy7wcyt8egbw
76              
77              
78             # You can replace this text with custom content, and it will be preserved on regeneration
79             1;
80              
81             __END__