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