1 package SGN
::Schema
::FishExperimenter
;
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::FishExperimenter
18 __PACKAGE__
->table("fish_experimenter");
22 =head2 fish_experimenter_id
27 sequence: 'fish_experimenter_fish_experimenter_id_seq'
29 =head2 fish_experimenter_name
37 __PACKAGE__
->add_columns(
38 "fish_experimenter_id",
40 data_type
=> "integer",
41 is_auto_increment
=> 1,
43 sequence
=> "fish_experimenter_fish_experimenter_id_seq",
45 "fish_experimenter_name",
46 { data_type
=> "varchar", is_nullable
=> 1, size
=> 20 },
48 __PACKAGE__
->set_primary_key("fish_experimenter_id");
49 __PACKAGE__
->add_unique_constraint("fish_expermenter_name_uniq", ["fish_experimenter_name"]);
57 Related object: L<SGN::Schema::FishResult>
61 __PACKAGE__
->has_many(
63 "SGN::Schema::FishResult",
64 { "foreign.fish_experimenter_id" => "self.fish_experimenter_id" },
65 { cascade_copy
=> 0, cascade_delete
=> 0 },
69 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
70 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HqAPxapG9dVDcUi2WIPIWA
73 # You can replace this text with custom content, and it will be preserved on regeneration