File Coverage

blib/lib/Bio/Chado/Schema/Result/Mage/Channel.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::Channel;
2             BEGIN {
3 6     6   2549 $Bio::Chado::Schema::Result::Mage::Channel::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   100 $Bio::Chado::Schema::Result::Mage::Channel::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   35 use strict;
  6         12  
  6         119  
13 6     6   27 use warnings;
  6         12  
  6         173  
14              
15 6     6   35 use base 'DBIx::Class::Core';
  6         13  
  6         814  
16              
17              
18              
19             __PACKAGE__->table("channel");
20              
21              
22             __PACKAGE__->add_columns(
23             "channel_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "channel_channel_id_seq",
29             },
30             "name",
31             { data_type => "text", is_nullable => 0 },
32             "definition",
33             { data_type => "text", is_nullable => 0 },
34             );
35             __PACKAGE__->set_primary_key("channel_id");
36             __PACKAGE__->add_unique_constraint("channel_c1", ["name"]);
37              
38              
39             __PACKAGE__->has_many(
40             "acquisitions",
41             "Bio::Chado::Schema::Result::Mage::Acquisition",
42             { "foreign.channel_id" => "self.channel_id" },
43             { cascade_copy => 0, cascade_delete => 0 },
44             );
45              
46              
47             __PACKAGE__->has_many(
48             "assay_biomaterials",
49             "Bio::Chado::Schema::Result::Mage::AssayBiomaterial",
50             { "foreign.channel_id" => "self.channel_id" },
51             { cascade_copy => 0, cascade_delete => 0 },
52             );
53              
54              
55             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
56             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dwnCxBIG7/SfWlOGSTJjUQ
57              
58              
59             # You can replace this text with custom content, and it will be preserved on regeneration
60             1;
61              
62             __END__