File Coverage

blib/lib/Bio/Chado/Schema/Result/Mage/StudypropFeature.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::Mage::StudypropFeature;
2             BEGIN {
3 6     6   2607 $Bio::Chado::Schema::Result::Mage::StudypropFeature::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   103 $Bio::Chado::Schema::Result::Mage::StudypropFeature::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   34 use strict;
  6         13  
  6         101  
13 6     6   27 use warnings;
  6         12  
  6         126  
14              
15 6     6   28 use base 'DBIx::Class::Core';
  6         12  
  6         1033  
16              
17              
18              
19             __PACKAGE__->table("studyprop_feature");
20              
21              
22             __PACKAGE__->add_columns(
23             "studyprop_feature_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "studyprop_feature_studyprop_feature_id_seq",
29             },
30             "studyprop_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "feature_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             "type_id",
35             { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
36             );
37             __PACKAGE__->set_primary_key("studyprop_feature_id");
38             __PACKAGE__->add_unique_constraint(
39             "studyprop_feature_studyprop_id_key",
40             ["studyprop_id", "feature_id"],
41             );
42              
43              
44             __PACKAGE__->belongs_to(
45             "studyprop",
46             "Bio::Chado::Schema::Result::Mage::Studyprop",
47             { studyprop_id => "studyprop_id" },
48             {
49             cascade_copy => 0,
50             cascade_delete => 0,
51             is_deferrable => 1,
52             on_delete => "CASCADE",
53             on_update => "CASCADE",
54             },
55             );
56              
57              
58             __PACKAGE__->belongs_to(
59             "type",
60             "Bio::Chado::Schema::Result::Cv::Cvterm",
61             { cvterm_id => "type_id" },
62             {
63             cascade_copy => 0,
64             cascade_delete => 0,
65             is_deferrable => 1,
66             join_type => "LEFT",
67             on_delete => "CASCADE",
68             on_update => "CASCADE",
69             },
70             );
71              
72              
73             __PACKAGE__->belongs_to(
74             "feature",
75             "Bio::Chado::Schema::Result::Sequence::Feature",
76             { feature_id => "feature_id" },
77             {
78             cascade_copy => 0,
79             cascade_delete => 0,
80             is_deferrable => 1,
81             on_delete => "CASCADE",
82             on_update => "CASCADE",
83             },
84             );
85              
86              
87             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
88             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4niFzk/B1VUfWBTdd1Nf4Q
89              
90              
91             # You can replace this text with custom content, and it will be preserved on regeneration
92             1;
93              
94             __END__