Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / FishExperimenter.pm
blobb2861676393a00fdc91344eaa13578c50f79d1be
1 package SGN::Schema::FishExperimenter;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6 use strict;
7 use warnings;
9 use base 'DBIx::Class::Core';
12 =head1 NAME
14 SGN::Schema::FishExperimenter
16 =cut
18 __PACKAGE__->table("fish_experimenter");
20 =head1 ACCESSORS
22 =head2 fish_experimenter_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'fish_experimenter_fish_experimenter_id_seq'
29 =head2 fish_experimenter_name
31 data_type: 'varchar'
32 is_nullable: 1
33 size: 20
35 =cut
37 __PACKAGE__->add_columns(
38 "fish_experimenter_id",
40 data_type => "integer",
41 is_auto_increment => 1,
42 is_nullable => 0,
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"]);
51 =head1 RELATIONS
53 =head2 fish_results
55 Type: has_many
57 Related object: L<SGN::Schema::FishResult>
59 =cut
61 __PACKAGE__->has_many(
62 "fish_results",
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