File Coverage

blib/lib/Bio/Chado/Schema/Result/Sequence/Cvtermsynonym.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::Sequence::Cvtermsynonym;
2             BEGIN {
3 6     6   2664 $Bio::Chado::Schema::Result::Sequence::Cvtermsynonym::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   139 $Bio::Chado::Schema::Result::Sequence::Cvtermsynonym::VERSION = '0.08001'; # TRIAL
7             }
8              
9 6     6   36 use strict;
  6         24  
  6         105  
10 6     6   29 use warnings;
  6         12  
  6         134  
11              
12 6     6   28 use base 'DBIx::Class';
  6         14  
  6         756  
13              
14             __PACKAGE__->load_components("Core");
15             __PACKAGE__->table("cvtermsynonym");
16             __PACKAGE__->add_columns(
17             "cvtermsynonym_id",
18             {
19             data_type => "integer",
20             default_value => "nextval('cvtermsynonym_cvtermsynonym_id_seq'::regclass)",
21             is_auto_increment => 1,
22             is_nullable => 0,
23             size => 4,
24             },
25             "cvterm_id",
26             {
27             data_type => "integer",
28             default_value => undef,
29             is_foreign_key => 1,
30             is_nullable => 0,
31             size => 4,
32             },
33             "synonym",
34             {
35             data_type => "character varying",
36             default_value => undef,
37             is_nullable => 0,
38             size => 1024,
39             },
40             "type_id",
41             {
42             data_type => "integer",
43             default_value => undef,
44             is_foreign_key => 1,
45             is_nullable => 1,
46             size => 4,
47             },
48             );
49             __PACKAGE__->set_primary_key("cvtermsynonym_id");
50             __PACKAGE__->add_unique_constraint("cvtermsynonym_c1", ["cvterm_id", "synonym"]);
51              
52              
53             # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-08-16 09:31:28
54             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u0y+66oKiMPqn2BMOzIk1A
55              
56              
57             # You can replace this text with custom content, and it will be preserved on regeneration
58             1;
59              
60             __END__