line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::Contact::Contact; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
6
|
|
|
6
|
|
2623
|
$Bio::Chado::Schema::Result::Contact::Contact::AUTHORITY = 'cpan:RBUELS'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
6
|
|
|
6
|
|
100
|
$Bio::Chado::Schema::Result::Contact::Contact::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
|
|
35
|
use strict; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
99
|
|
13
|
6
|
|
|
6
|
|
26
|
use warnings; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
135
|
|
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
40
|
use base 'DBIx::Class::Core'; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
1482
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("contact"); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
23
|
|
|
|
|
|
|
"contact_id", |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
data_type => "integer", |
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
sequence => "contact_contact_id_seq", |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
"type_id", |
31
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
32
|
|
|
|
|
|
|
"name", |
33
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
34
|
|
|
|
|
|
|
"description", |
35
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("contact_id"); |
38
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("contact_c1", ["name"]); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
42
|
|
|
|
|
|
|
"arraydesigns", |
43
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Arraydesign", |
44
|
|
|
|
|
|
|
{ "foreign.manufacturer_id" => "self.contact_id" }, |
45
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
46
|
|
|
|
|
|
|
); |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
50
|
|
|
|
|
|
|
"assays", |
51
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Assay", |
52
|
|
|
|
|
|
|
{ "foreign.operator_id" => "self.contact_id" }, |
53
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
58
|
|
|
|
|
|
|
"biomaterials", |
59
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Biomaterial", |
60
|
|
|
|
|
|
|
{ "foreign.biosourceprovider_id" => "self.contact_id" }, |
61
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
62
|
|
|
|
|
|
|
); |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
66
|
|
|
|
|
|
|
"type", |
67
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Cv::Cvterm", |
68
|
|
|
|
|
|
|
{ cvterm_id => "type_id" }, |
69
|
|
|
|
|
|
|
{ |
70
|
|
|
|
|
|
|
cascade_copy => 0, |
71
|
|
|
|
|
|
|
cascade_delete => 0, |
72
|
|
|
|
|
|
|
is_deferrable => 1, |
73
|
|
|
|
|
|
|
join_type => "LEFT", |
74
|
|
|
|
|
|
|
on_delete => "CASCADE", |
75
|
|
|
|
|
|
|
on_update => "CASCADE", |
76
|
|
|
|
|
|
|
}, |
77
|
|
|
|
|
|
|
); |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
81
|
|
|
|
|
|
|
"contact_relationship_objects", |
82
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Contact::ContactRelationship", |
83
|
|
|
|
|
|
|
{ "foreign.object_id" => "self.contact_id" }, |
84
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
85
|
|
|
|
|
|
|
); |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
89
|
|
|
|
|
|
|
"contact_relationship_subjects", |
90
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Contact::ContactRelationship", |
91
|
|
|
|
|
|
|
{ "foreign.subject_id" => "self.contact_id" }, |
92
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
93
|
|
|
|
|
|
|
); |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
97
|
|
|
|
|
|
|
"nd_experiment_contacts", |
98
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentContact", |
99
|
|
|
|
|
|
|
{ "foreign.contact_id" => "self.contact_id" }, |
100
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
101
|
|
|
|
|
|
|
); |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
105
|
|
|
|
|
|
|
"project_contacts", |
106
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Project::ProjectContact", |
107
|
|
|
|
|
|
|
{ "foreign.contact_id" => "self.contact_id" }, |
108
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
109
|
|
|
|
|
|
|
); |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
113
|
|
|
|
|
|
|
"quantifications", |
114
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Quantification", |
115
|
|
|
|
|
|
|
{ "foreign.operator_id" => "self.contact_id" }, |
116
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
117
|
|
|
|
|
|
|
); |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
121
|
|
|
|
|
|
|
"stockcollections", |
122
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Stock::Stockcollection", |
123
|
|
|
|
|
|
|
{ "foreign.contact_id" => "self.contact_id" }, |
124
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
125
|
|
|
|
|
|
|
); |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
129
|
|
|
|
|
|
|
"studies", |
130
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Mage::Study", |
131
|
|
|
|
|
|
|
{ "foreign.contact_id" => "self.contact_id" }, |
132
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
133
|
|
|
|
|
|
|
); |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07001 @ 2010-08-16 23:01:56 |
137
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:06gv7bmt2HKmaDlmPKI7/Q |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
141
|
|
|
|
|
|
|
1; |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
__END__ |