fix foreign key name in blast_db_blast_db_group table schema.
[cxgn-corelibs.git] / lib / SGN / Schema / DeprecatedMarkerLocation.pm
blobb01e56539b5731915de7574bff9f153dd5a25aca
1 package SGN::Schema::DeprecatedMarkerLocation;
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::DeprecatedMarkerLocation
16 =cut
18 __PACKAGE__->table("deprecated_marker_locations");
20 =head1 ACCESSORS
22 =head2 marker_location_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'deprecated_marker_locations_marker_location_id_seq'
29 =head2 marker_id
31 data_type: 'bigint'
32 default_value: '0)::bigint'
33 is_foreign_key: 1
34 is_nullable: 0
36 =head2 loc_id
38 data_type: 'bigint'
39 default_value: '0)::bigint'
40 is_foreign_key: 1
41 is_nullable: 0
43 =head2 confidence
45 data_type: 'bigint'
46 default_value: '0)::bigint'
47 is_foreign_key: 1
48 is_nullable: 0
50 =head2 order_in_loc
52 data_type: 'bigint'
53 default_value: '0)::bigint'
54 is_nullable: 0
56 =head2 location_subscript
58 data_type: 'char'
59 is_nullable: 1
60 size: 2
62 =head2 mapmaker_id
64 data_type: 'bigint'
65 default_value: '0)::bigint'
66 is_nullable: 0
68 =cut
70 __PACKAGE__->add_columns(
71 "marker_location_id",
73 data_type => "integer",
74 is_auto_increment => 1,
75 is_nullable => 0,
76 sequence => "deprecated_marker_locations_marker_location_id_seq",
78 "marker_id",
80 data_type => "bigint",
81 default_value => "0)::bigint",
82 is_foreign_key => 1,
83 is_nullable => 0,
85 "loc_id",
87 data_type => "bigint",
88 default_value => "0)::bigint",
89 is_foreign_key => 1,
90 is_nullable => 0,
92 "confidence",
94 data_type => "bigint",
95 default_value => "0)::bigint",
96 is_foreign_key => 1,
97 is_nullable => 0,
99 "order_in_loc",
100 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 0 },
101 "location_subscript",
102 { data_type => "char", is_nullable => 1, size => 2 },
103 "mapmaker_id",
104 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 0 },
106 __PACKAGE__->set_primary_key("marker_location_id");
108 =head1 RELATIONS
110 =head2 loc
112 Type: belongs_to
114 Related object: L<SGN::Schema::DeprecatedMapdata>
116 =cut
118 __PACKAGE__->belongs_to(
119 "loc",
120 "SGN::Schema::DeprecatedMapdata",
121 { loc_id => "loc_id" },
122 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
125 =head2 marker
127 Type: belongs_to
129 Related object: L<SGN::Schema::DeprecatedMarker>
131 =cut
133 __PACKAGE__->belongs_to(
134 "marker",
135 "SGN::Schema::DeprecatedMarker",
136 { marker_id => "marker_id" },
137 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
140 =head2 confidence
142 Type: belongs_to
144 Related object: L<SGN::Schema::DeprecatedMarkerConfidence>
146 =cut
148 __PACKAGE__->belongs_to(
149 "confidence",
150 "SGN::Schema::DeprecatedMarkerConfidence",
151 { legacy_conf_id => "confidence" },
152 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
156 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
157 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9egEjMuXtTqa46MzDYvChg
160 # You can replace this text with custom content, and it will be preserved on regeneration