line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::Stock::Stockcollection; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
6
|
|
|
6
|
|
2640
|
$Bio::Chado::Schema::Result::Stock::Stockcollection::AUTHORITY = 'cpan:RBUELS'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
6
|
|
|
6
|
|
101
|
$Bio::Chado::Schema::Result::Stock::Stockcollection::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
|
|
36
|
use strict; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
100
|
|
13
|
6
|
|
|
6
|
|
29
|
use warnings; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
132
|
|
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
29
|
use base 'DBIx::Class::Core'; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
1081
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("stockcollection"); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
23
|
|
|
|
|
|
|
"stockcollection_id", |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
data_type => "integer", |
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
sequence => "stockcollection_stockcollection_id_seq", |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
"type_id", |
31
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
32
|
|
|
|
|
|
|
"contact_id", |
33
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
34
|
|
|
|
|
|
|
"name", |
35
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
36
|
|
|
|
|
|
|
"uniquename", |
37
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 0 }, |
38
|
|
|
|
|
|
|
); |
39
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("stockcollection_id"); |
40
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("stockcollection_c1", ["uniquename", "type_id"]); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
44
|
|
|
|
|
|
|
"type", |
45
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Cv::Cvterm", |
46
|
|
|
|
|
|
|
{ cvterm_id => "type_id" }, |
47
|
|
|
|
|
|
|
{ |
48
|
|
|
|
|
|
|
cascade_copy => 0, |
49
|
|
|
|
|
|
|
cascade_delete => 0, |
50
|
|
|
|
|
|
|
is_deferrable => 1, |
51
|
|
|
|
|
|
|
on_delete => "CASCADE", |
52
|
|
|
|
|
|
|
on_update => "CASCADE", |
53
|
|
|
|
|
|
|
}, |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
58
|
|
|
|
|
|
|
"contact", |
59
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Contact::Contact", |
60
|
|
|
|
|
|
|
{ contact_id => "contact_id" }, |
61
|
|
|
|
|
|
|
{ |
62
|
|
|
|
|
|
|
cascade_copy => 0, |
63
|
|
|
|
|
|
|
cascade_delete => 0, |
64
|
|
|
|
|
|
|
is_deferrable => 1, |
65
|
|
|
|
|
|
|
join_type => "LEFT", |
66
|
|
|
|
|
|
|
on_delete => "CASCADE", |
67
|
|
|
|
|
|
|
on_update => "CASCADE", |
68
|
|
|
|
|
|
|
}, |
69
|
|
|
|
|
|
|
); |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
73
|
|
|
|
|
|
|
"stockcollectionprops", |
74
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::Stockcollectionprop", |
75
|
|
|
|
|
|
|
{ "foreign.stockcollection_id" => "self.stockcollection_id" }, |
76
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
77
|
|
|
|
|
|
|
); |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
81
|
|
|
|
|
|
|
"stockcollection_stocks", |
82
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::StockcollectionStock", |
83
|
|
|
|
|
|
|
{ "foreign.stockcollection_id" => "self.stockcollection_id" }, |
84
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
85
|
|
|
|
|
|
|
); |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07001 @ 2010-08-16 23:01:56 |
89
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lTa18yHnI/ZVLtGskhBA9Q |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
93
|
|
|
|
|
|
|
1; |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
__END__ |