fix foreign key name in blast_db_blast_db_group table schema.
[cxgn-corelibs.git] / lib / SGN / Schema / DeprecatedMap.pm
blob44f3f2009b7ca31ad4d99fdc5e3612f3bad0ac4f
1 package SGN::Schema::DeprecatedMap;
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::DeprecatedMap
16 =cut
18 __PACKAGE__->table("deprecated_maps");
20 =head1 ACCESSORS
22 =head2 map_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'deprecated_maps_map_id_seq'
29 =head2 legacy_id
31 data_type: 'bigint'
32 default_value: '0)::bigint'
33 is_nullable: 0
35 =head2 short_name
37 data_type: 'varchar'
38 default_value: (empty string)
39 is_nullable: 0
40 size: 50
42 =head2 long_name
44 data_type: 'varchar'
45 default_value: (empty string)
46 is_nullable: 0
47 size: 250
49 =head2 number_chromosomes
51 data_type: 'bigint'
52 default_value: '0)::bigint'
53 is_nullable: 0
55 =head2 default_threshold
57 data_type: 'bigint'
58 default_value: '0)::bigint'
59 is_nullable: 0
61 =head2 header
63 data_type: 'text'
64 is_nullable: 0
66 =head2 abstract
68 data_type: 'text'
69 is_nullable: 0
71 =head2 genetic_cross
73 data_type: 'varchar'
74 is_nullable: 1
75 size: 250
77 =head2 population_type
79 data_type: 'varchar'
80 is_nullable: 1
81 size: 250
83 =head2 population_size
85 data_type: 'bigint'
86 is_nullable: 1
88 =head2 seed_available
90 data_type: 'bigint'
91 is_nullable: 1
93 =head2 seed_url
95 data_type: 'varchar'
96 is_nullable: 1
97 size: 250
99 =head2 deprecated_by
101 data_type: 'bigint'
102 default_value: '0)::bigint'
103 is_nullable: 1
105 =head2 map_type
107 data_type: 'varchar'
108 is_nullable: 1
109 size: 7
111 =cut
113 __PACKAGE__->add_columns(
114 "map_id",
116 data_type => "integer",
117 is_auto_increment => 1,
118 is_nullable => 0,
119 sequence => "deprecated_maps_map_id_seq",
121 "legacy_id",
122 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 0 },
123 "short_name",
124 { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
125 "long_name",
126 { data_type => "varchar", default_value => "", is_nullable => 0, size => 250 },
127 "number_chromosomes",
128 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 0 },
129 "default_threshold",
130 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 0 },
131 "header",
132 { data_type => "text", is_nullable => 0 },
133 "abstract",
134 { data_type => "text", is_nullable => 0 },
135 "genetic_cross",
136 { data_type => "varchar", is_nullable => 1, size => 250 },
137 "population_type",
138 { data_type => "varchar", is_nullable => 1, size => 250 },
139 "population_size",
140 { data_type => "bigint", is_nullable => 1 },
141 "seed_available",
142 { data_type => "bigint", is_nullable => 1 },
143 "seed_url",
144 { data_type => "varchar", is_nullable => 1, size => 250 },
145 "deprecated_by",
146 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 1 },
147 "map_type",
148 { data_type => "varchar", is_nullable => 1, size => 7 },
150 __PACKAGE__->set_primary_key("map_id");
152 =head1 RELATIONS
154 =head2 deprecated_linkage_groups
156 Type: has_many
158 Related object: L<SGN::Schema::DeprecatedLinkageGroup>
160 =cut
162 __PACKAGE__->has_many(
163 "deprecated_linkage_groups",
164 "SGN::Schema::DeprecatedLinkageGroup",
165 { "foreign.map_id" => "self.map_id" },
166 { cascade_copy => 0, cascade_delete => 0 },
169 =head2 deprecated_map_crosses
171 Type: has_many
173 Related object: L<SGN::Schema::DeprecatedMapCross>
175 =cut
177 __PACKAGE__->has_many(
178 "deprecated_map_crosses",
179 "SGN::Schema::DeprecatedMapCross",
180 { "foreign.map_id" => "self.map_id" },
181 { cascade_copy => 0, cascade_delete => 0 },
184 =head2 deprecated_mapdatas
186 Type: has_many
188 Related object: L<SGN::Schema::DeprecatedMapdata>
190 =cut
192 __PACKAGE__->has_many(
193 "deprecated_mapdatas",
194 "SGN::Schema::DeprecatedMapdata",
195 { "foreign.map_id" => "self.map_id" },
196 { cascade_copy => 0, cascade_delete => 0 },
199 =head2 fish_results
201 Type: has_many
203 Related object: L<SGN::Schema::FishResult>
205 =cut
207 __PACKAGE__->has_many(
208 "fish_results",
209 "SGN::Schema::FishResult",
210 { "foreign.map_id" => "self.map_id" },
211 { cascade_copy => 0, cascade_delete => 0 },
214 =head2 temp_map_correspondences
216 Type: has_many
218 Related object: L<SGN::Schema::TempMapCorrespondence>
220 =cut
222 __PACKAGE__->has_many(
223 "temp_map_correspondences",
224 "SGN::Schema::TempMapCorrespondence",
225 { "foreign.old_map_id" => "self.map_id" },
226 { cascade_copy => 0, cascade_delete => 0 },
230 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
231 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z0L3rLo7AASYJCb2N7JKKQ
234 # You can replace this text with custom content, and it will be preserved on regeneration