Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / FamilyBuild.pm
blob3d19483f59506e7b97f371aa2506fc512dc60921
1 package SGN::Schema::FamilyBuild;
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::FamilyBuild
16 =cut
18 __PACKAGE__->table("family_build");
20 =head1 ACCESSORS
22 =head2 family_build_id
24 data_type: 'bigint'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'family_build_family_build_id_seq'
29 =head2 group_id
31 data_type: 'bigint'
32 is_nullable: 1
34 =head2 build_nr
36 data_type: 'bigint'
37 is_nullable: 1
39 =head2 i_value
41 data_type: 'double precision'
42 is_nullable: 1
44 =head2 build_date
46 data_type: 'timestamp'
47 default_value: ('now'::text)::timestamp(6) with time zone
48 is_nullable: 0
50 =head2 status
52 data_type: 'char'
53 default_value: 'C'
54 is_nullable: 1
55 size: 1
57 =cut
59 __PACKAGE__->add_columns(
60 "family_build_id",
62 data_type => "bigint",
63 is_auto_increment => 1,
64 is_nullable => 0,
65 sequence => "family_build_family_build_id_seq",
67 "group_id",
68 { data_type => "bigint", is_nullable => 1 },
69 "build_nr",
70 { data_type => "bigint", is_nullable => 1 },
71 "i_value",
72 { data_type => "double precision", is_nullable => 1 },
73 "build_date",
75 data_type => "timestamp",
76 default_value => \"('now'::text)::timestamp(6) with time zone",
77 is_nullable => 0,
79 "status",
80 { data_type => "char", default_value => "C", is_nullable => 1, size => 1 },
82 __PACKAGE__->set_primary_key("family_build_id");
84 =head1 RELATIONS
86 =head2 families
88 Type: has_many
90 Related object: L<SGN::Schema::Family>
92 =cut
94 __PACKAGE__->has_many(
95 "families",
96 "SGN::Schema::Family",
97 { "foreign.family_build_id" => "self.family_build_id" },
98 { cascade_copy => 0, cascade_delete => 0 },
102 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
103 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QaGnsmu4vvcnLGzPzibWjg
106 # You can replace this text with custom content, and it will be preserved on regeneration