1 package SGN
::Schema
::Library
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
18 __PACKAGE__
->table("library");
27 sequence: 'library_library_id_seq'
46 =head2 library_shortname
81 =head2 development_stage
87 =head2 treatment_conditions
127 =head2 contact_information
132 =head2 order_routing_id
142 =head2 forward_adapter
146 original: {data_type => "varchar"}
148 =head2 reverse_adapter
152 original: {data_type => "varchar"}
161 data_type: 'timestamp with time zone'
166 data_type: 'timestamp with time zone'
169 =head2 chado_organism_id
176 __PACKAGE__
->add_columns(
179 data_type
=> "integer",
180 is_auto_increment
=> 1,
182 sequence
=> "library_library_id_seq",
185 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
187 { data_type
=> "integer", is_nullable
=> 1 },
189 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
191 { data_type
=> "varchar", is_nullable
=> 1, size
=> 16 },
193 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
195 { data_type
=> "integer", is_nullable
=> 1 },
197 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
199 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
201 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
203 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
204 "treatment_conditions",
205 { data_type
=> "text", is_nullable
=> 1 },
207 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
209 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
211 { data_type
=> "varchar", is_nullable
=> 1, size
=> 12 },
213 { data_type
=> "varchar", is_nullable
=> 1, size
=> 12 },
215 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
217 { data_type
=> "text", is_nullable
=> 1 },
218 "contact_information",
219 { data_type
=> "text", is_nullable
=> 1 },
221 { data_type
=> "bigint", is_nullable
=> 1 },
223 { data_type
=> "integer", is_nullable
=> 1 },
228 original
=> { data_type
=> "varchar" },
234 original
=> { data_type
=> "varchar" },
237 { data_type
=> "boolean", is_nullable
=> 1 },
239 { data_type
=> "timestamp with time zone", is_nullable
=> 1 },
241 { data_type
=> "timestamp with time zone", is_nullable
=> 1 },
243 { data_type
=> "integer", is_nullable
=> 1 },
245 __PACKAGE__
->set_primary_key("library_id");
246 __PACKAGE__
->add_unique_constraint("library_shortname_idx", ["library_shortname"]);
254 Related object: L<SGN::Schema::Clone>
258 __PACKAGE__
->has_many(
260 "SGN::Schema::Clone",
261 { "foreign.library_id" => "self.library_id" },
262 { cascade_copy
=> 0, cascade_delete
=> 0 },
269 Related object: L<SGN::Schema::Type>
273 __PACKAGE__
->belongs_to(
276 { type_id
=> "type" },
280 on_delete
=> "CASCADE",
281 on_update
=> "CASCADE",
286 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
287 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mEVMxr8tPb/rp+t5593leg
290 # You can replace this text with custom content, and it will be preserved on regeneration