1 package SGN
::Schema
::FishResult
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
14 SGN::Schema::FishResult
18 __PACKAGE__
->table("fish_result");
27 sequence: 'fish_result_fish_result_id_seq'
35 =head2 fish_experimenter_id
41 =head2 experiment_name
63 =head2 percent_from_centromere
68 =head2 experiment_group
81 __PACKAGE__
->add_columns(
84 data_type
=> "bigint",
85 is_auto_increment
=> 1,
87 sequence
=> "fish_result_fish_result_id_seq",
90 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 0 },
91 "fish_experimenter_id",
92 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
94 { data_type
=> "varchar", is_nullable
=> 0, size
=> 10 },
96 { data_type
=> "bigint", is_nullable
=> 0 },
98 { data_type
=> "smallint", is_nullable
=> 0 },
100 { data_type
=> "varchar", is_nullable
=> 0, size
=> 1 },
101 "percent_from_centromere",
102 { data_type
=> "real", is_nullable
=> 0 },
104 { data_type
=> "varchar", is_nullable
=> 1, size
=> 12 },
106 { data_type
=> "bigint", is_nullable
=> 1 },
108 __PACKAGE__
->set_primary_key("fish_result_id");
109 __PACKAGE__
->add_unique_constraint(
110 "fish_result_fish_experimenter_clone_id_experiment_name",
111 ["fish_experimenter_id", "clone_id", "experiment_name"],
116 =head2 fish_experimenter
120 Related object: L<SGN::Schema::FishExperimenter>
124 __PACKAGE__
->belongs_to(
126 "SGN::Schema::FishExperimenter",
127 { fish_experimenter_id
=> "fish_experimenter_id" },
128 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
135 Related object: L<SGN::Schema::DeprecatedMap>
139 __PACKAGE__
->belongs_to(
141 "SGN::Schema::DeprecatedMap",
142 { map_id
=> "map_id" },
143 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
146 =head2 fish_result_images
150 Related object: L<SGN::Schema::FishResultImage>
154 __PACKAGE__
->has_many(
155 "fish_result_images",
156 "SGN::Schema::FishResultImage",
157 { "foreign.fish_result_id" => "self.fish_result_id" },
158 { cascade_copy
=> 0, cascade_delete
=> 0 },
162 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
163 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3Qs/Qm/jdBZo2BRoSH9EGg
166 # You can replace this text with custom content, and it will be preserved on regeneration