line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::Mage::Quantification; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
6
|
|
|
6
|
|
2739
|
$Bio::Chado::Schema::Result::Mage::Quantification::AUTHORITY = 'cpan:RBUELS'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
6
|
|
|
6
|
|
99
|
$Bio::Chado::Schema::Result::Mage::Quantification::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
|
|
37
|
use strict; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
131
|
|
13
|
6
|
|
|
6
|
|
30
|
use warnings; |
|
6
|
|
|
|
|
15
|
|
|
6
|
|
|
|
|
134
|
|
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
28
|
use base 'DBIx::Class::Core'; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
1556
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("quantification"); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
23
|
|
|
|
|
|
|
"quantification_id", |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
data_type => "integer", |
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
sequence => "quantification_quantification_id_seq", |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
"acquisition_id", |
31
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
32
|
|
|
|
|
|
|
"operator_id", |
33
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
34
|
|
|
|
|
|
|
"protocol_id", |
35
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
36
|
|
|
|
|
|
|
"analysis_id", |
37
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
38
|
|
|
|
|
|
|
"quantificationdate", |
39
|
|
|
|
|
|
|
{ |
40
|
|
|
|
|
|
|
data_type => "timestamp", |
41
|
|
|
|
|
|
|
default_value => \"current_timestamp", |
42
|
|
|
|
|
|
|
is_nullable => 1, |
43
|
|
|
|
|
|
|
original => { default_value => \"now()" }, |
44
|
|
|
|
|
|
|
}, |
45
|
|
|
|
|
|
|
"name", |
46
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
47
|
|
|
|
|
|
|
"uri", |
48
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("quantification_id"); |
51
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("quantification_c1", ["name", "analysis_id"]); |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
55
|
|
|
|
|
|
|
"elementresults", |
56
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Elementresult", |
57
|
|
|
|
|
|
|
{ "foreign.quantification_id" => "self.quantification_id" }, |
58
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
59
|
|
|
|
|
|
|
); |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
63
|
|
|
|
|
|
|
"operator", |
64
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Contact::Contact", |
65
|
|
|
|
|
|
|
{ contact_id => "operator_id" }, |
66
|
|
|
|
|
|
|
{ |
67
|
|
|
|
|
|
|
cascade_copy => 0, |
68
|
|
|
|
|
|
|
cascade_delete => 0, |
69
|
|
|
|
|
|
|
is_deferrable => 1, |
70
|
|
|
|
|
|
|
join_type => "LEFT", |
71
|
|
|
|
|
|
|
on_delete => "CASCADE", |
72
|
|
|
|
|
|
|
on_update => "CASCADE", |
73
|
|
|
|
|
|
|
}, |
74
|
|
|
|
|
|
|
); |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
78
|
|
|
|
|
|
|
"analysis", |
79
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Companalysis::Analysis", |
80
|
|
|
|
|
|
|
{ analysis_id => "analysis_id" }, |
81
|
|
|
|
|
|
|
{ |
82
|
|
|
|
|
|
|
cascade_copy => 0, |
83
|
|
|
|
|
|
|
cascade_delete => 0, |
84
|
|
|
|
|
|
|
is_deferrable => 1, |
85
|
|
|
|
|
|
|
on_delete => "CASCADE", |
86
|
|
|
|
|
|
|
on_update => "CASCADE", |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
); |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
92
|
|
|
|
|
|
|
"protocol", |
93
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Protocol", |
94
|
|
|
|
|
|
|
{ protocol_id => "protocol_id" }, |
95
|
|
|
|
|
|
|
{ |
96
|
|
|
|
|
|
|
cascade_copy => 0, |
97
|
|
|
|
|
|
|
cascade_delete => 0, |
98
|
|
|
|
|
|
|
is_deferrable => 1, |
99
|
|
|
|
|
|
|
join_type => "LEFT", |
100
|
|
|
|
|
|
|
on_delete => "CASCADE", |
101
|
|
|
|
|
|
|
on_update => "CASCADE", |
102
|
|
|
|
|
|
|
}, |
103
|
|
|
|
|
|
|
); |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
107
|
|
|
|
|
|
|
"acquisition", |
108
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Acquisition", |
109
|
|
|
|
|
|
|
{ acquisition_id => "acquisition_id" }, |
110
|
|
|
|
|
|
|
{ |
111
|
|
|
|
|
|
|
cascade_copy => 0, |
112
|
|
|
|
|
|
|
cascade_delete => 0, |
113
|
|
|
|
|
|
|
is_deferrable => 1, |
114
|
|
|
|
|
|
|
on_delete => "CASCADE", |
115
|
|
|
|
|
|
|
on_update => "CASCADE", |
116
|
|
|
|
|
|
|
}, |
117
|
|
|
|
|
|
|
); |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
121
|
|
|
|
|
|
|
"quantificationprops", |
122
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Quantificationprop", |
123
|
|
|
|
|
|
|
{ "foreign.quantification_id" => "self.quantification_id" }, |
124
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
125
|
|
|
|
|
|
|
); |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
129
|
|
|
|
|
|
|
"quantification_relationship_subjects", |
130
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::QuantificationRelationship", |
131
|
|
|
|
|
|
|
{ "foreign.subject_id" => "self.quantification_id" }, |
132
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
133
|
|
|
|
|
|
|
); |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
137
|
|
|
|
|
|
|
"quantification_relationship_objects", |
138
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::QuantificationRelationship", |
139
|
|
|
|
|
|
|
{ "foreign.object_id" => "self.quantification_id" }, |
140
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
141
|
|
|
|
|
|
|
); |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07001 @ 2010-08-16 23:01:56 |
145
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rjfqwXjHS195d5RVHIMrRA |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
149
|
|
|
|
|
|
|
1; |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
__END__ |