File Coverage

blib/lib/Bio/Chado/Schema/Result/Sequence/FeaturepropPub.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::FeaturepropPub;
2             BEGIN {
3 6     6   3315 $Bio::Chado::Schema::Result::Sequence::FeaturepropPub::AUTHORITY = 'cpan:RBUELS';
4             }
5             BEGIN {
6 6     6   103 $Bio::Chado::Schema::Result::Sequence::FeaturepropPub::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         102  
13 6     6   26 use warnings;
  6         14  
  6         132  
14              
15 6     6   27 use base 'DBIx::Class::Core';
  6         13  
  6         2896  
16              
17              
18              
19             __PACKAGE__->table("featureprop_pub");
20              
21              
22             __PACKAGE__->add_columns(
23             "featureprop_pub_id",
24             {
25             data_type => "integer",
26             is_auto_increment => 1,
27             is_nullable => 0,
28             sequence => "featureprop_pub_featureprop_pub_id_seq",
29             },
30             "featureprop_id",
31             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
32             "pub_id",
33             { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
34             );
35             __PACKAGE__->set_primary_key("featureprop_pub_id");
36             __PACKAGE__->add_unique_constraint("featureprop_pub_c1", ["featureprop_id", "pub_id"]);
37              
38              
39             __PACKAGE__->belongs_to(
40             "featureprop",
41             "Bio::Chado::Schema::Result::Sequence::Featureprop",
42             { featureprop_id => "featureprop_id" },
43             {
44             cascade_copy => 0,
45             cascade_delete => 0,
46             is_deferrable => 1,
47             on_delete => "CASCADE",
48             on_update => "CASCADE",
49             },
50             );
51              
52              
53             __PACKAGE__->belongs_to(
54             "pub",
55             "Bio::Chado::Schema::Result::Pub::Pub",
56             { pub_id => "pub_id" },
57             {
58             cascade_copy => 0,
59             cascade_delete => 0,
60             is_deferrable => 1,
61             on_delete => "CASCADE",
62             on_update => "CASCADE",
63             },
64             );
65              
66              
67             # Created by DBIx::Class::Schema::Loader v0.06001 @ 2010-04-16 14:33:36
68             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SW83lefhZfS7QG10FX2YOA
69              
70              
71             # You can replace this text with custom content, and it will be preserved on regeneration
72             1;
73              
74             __END__