line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Chado::Schema::Result::CellLine::CellLine; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
6
|
|
|
6
|
|
2676
|
$Bio::Chado::Schema::Result::CellLine::CellLine::AUTHORITY = 'cpan:RBUELS'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
6
|
|
|
6
|
|
99
|
$Bio::Chado::Schema::Result::CellLine::CellLine::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
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
98
|
|
13
|
6
|
|
|
6
|
|
27
|
use warnings; |
|
6
|
|
|
|
|
105
|
|
|
6
|
|
|
|
|
132
|
|
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
94
|
use base 'DBIx::Class::Core'; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
1584
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->table("cell_line"); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
23
|
|
|
|
|
|
|
"cell_line_id", |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
data_type => "integer", |
26
|
|
|
|
|
|
|
is_auto_increment => 1, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
sequence => "cell_line_cell_line_id_seq", |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
"name", |
31
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
32
|
|
|
|
|
|
|
"uniquename", |
33
|
|
|
|
|
|
|
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
34
|
|
|
|
|
|
|
"organism_id", |
35
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
36
|
|
|
|
|
|
|
"timeaccessioned", |
37
|
|
|
|
|
|
|
{ |
38
|
|
|
|
|
|
|
data_type => "timestamp", |
39
|
|
|
|
|
|
|
default_value => \"current_timestamp", |
40
|
|
|
|
|
|
|
is_nullable => 0, |
41
|
|
|
|
|
|
|
original => { default_value => \"now()" }, |
42
|
|
|
|
|
|
|
}, |
43
|
|
|
|
|
|
|
"timelastmodified", |
44
|
|
|
|
|
|
|
{ |
45
|
|
|
|
|
|
|
data_type => "timestamp", |
46
|
|
|
|
|
|
|
default_value => \"current_timestamp", |
47
|
|
|
|
|
|
|
is_nullable => 0, |
48
|
|
|
|
|
|
|
original => { default_value => \"now()" }, |
49
|
|
|
|
|
|
|
}, |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("cell_line_id"); |
52
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("cell_line_c1", ["uniquename", "organism_id"]); |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
56
|
|
|
|
|
|
|
"organism", |
57
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::Organism::Organism", |
58
|
|
|
|
|
|
|
{ organism_id => "organism_id" }, |
59
|
|
|
|
|
|
|
{ |
60
|
|
|
|
|
|
|
cascade_copy => 0, |
61
|
|
|
|
|
|
|
cascade_delete => 0, |
62
|
|
|
|
|
|
|
is_deferrable => 1, |
63
|
|
|
|
|
|
|
on_delete => "CASCADE", |
64
|
|
|
|
|
|
|
on_update => "CASCADE", |
65
|
|
|
|
|
|
|
}, |
66
|
|
|
|
|
|
|
); |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
70
|
|
|
|
|
|
|
"cell_line_cvterms", |
71
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineCvterm", |
72
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
73
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
74
|
|
|
|
|
|
|
); |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
78
|
|
|
|
|
|
|
"cell_line_dbxrefs", |
79
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineDbxref", |
80
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
81
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
82
|
|
|
|
|
|
|
); |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
86
|
|
|
|
|
|
|
"cell_line_features", |
87
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineFeature", |
88
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
89
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
90
|
|
|
|
|
|
|
); |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
94
|
|
|
|
|
|
|
"cell_line_libraries", |
95
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineLibrary", |
96
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
97
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
98
|
|
|
|
|
|
|
); |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
102
|
|
|
|
|
|
|
"cell_lineprops", |
103
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineprop", |
104
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
105
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
106
|
|
|
|
|
|
|
); |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
110
|
|
|
|
|
|
|
"cell_line_pubs", |
111
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLinePub", |
112
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
113
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
114
|
|
|
|
|
|
|
); |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
118
|
|
|
|
|
|
|
"cell_line_relationship_subjects", |
119
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineRelationship", |
120
|
|
|
|
|
|
|
{ "foreign.subject_id" => "self.cell_line_id" }, |
121
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
122
|
|
|
|
|
|
|
); |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
126
|
|
|
|
|
|
|
"cell_line_relationship_objects", |
127
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineRelationship", |
128
|
|
|
|
|
|
|
{ "foreign.object_id" => "self.cell_line_id" }, |
129
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
130
|
|
|
|
|
|
|
); |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
134
|
|
|
|
|
|
|
"cell_line_synonyms", |
135
|
|
|
|
|
|
|
"Bio::Chado::Schema::Result::CellLine::CellLineSynonym", |
136
|
|
|
|
|
|
|
{ "foreign.cell_line_id" => "self.cell_line_id" }, |
137
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
138
|
|
|
|
|
|
|
); |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07001 @ 2010-08-16 23:01:56 |
142
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bSpl0pE/TDd8htXcE/RHGA |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
146
|
|
|
|
|
|
|
1; |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
__END__ |