2 package Debbugs::DB::Result::Bug;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Bug
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
34 __PACKAGE__->table("bug");
45 data_type: 'timestamp with time zone'
46 default_value: current_timestamp
48 original: {default_value => \"now()"}
52 data_type: 'timestamp with time zone'
53 default_value: current_timestamp
55 original: {default_value => \"now()"}
59 data_type: 'timestamp with time zone'
60 default_value: current_timestamp
62 original: {default_value => \"now()"}
72 data_type: 'timestamp with time zone'
78 default_value: (empty string)
84 default_value: (empty string)
90 default_value: (empty string)
101 default_value: (empty string)
107 default_value: (empty string)
110 =head2 unknown_packages
113 default_value: (empty string)
119 default_value: 'normal'
120 extra: {custom_type_name => "bug_severity",list => ["wishlist","minor","normal","important","serious","grave","critical"]}
125 __PACKAGE__->add_columns(
127 { data_type => "integer", is_nullable => 0 },
130 data_type => "timestamp with time zone",
131 default_value => \"current_timestamp",
133 original => { default_value => \"now()" },
137 data_type => "timestamp with time zone",
138 default_value => \"current_timestamp",
140 original => { default_value => \"now()" },
144 data_type => "timestamp with time zone",
145 default_value => \"current_timestamp",
147 original => { default_value => \"now()" },
150 { data_type => "boolean", default_value => \"false", is_nullable => 0 },
152 { data_type => "timestamp with time zone", is_nullable => 1 },
154 { data_type => "text", default_value => "", is_nullable => 0 },
156 { data_type => "text", default_value => "", is_nullable => 0 },
158 { data_type => "text", default_value => "", is_nullable => 0 },
160 { data_type => "text", is_nullable => 0 },
162 { data_type => "text", default_value => "", is_nullable => 0 },
164 { data_type => "text", default_value => "", is_nullable => 0 },
166 { data_type => "text", default_value => "", is_nullable => 0 },
170 default_value => "normal",
172 custom_type_name => "bug_severity",
197 __PACKAGE__->set_primary_key("id");
201 =head2 bug_binpackages
205 Related object: L<Debbugs::DB::Result::BugBinpackage>
209 __PACKAGE__->has_many(
211 "Debbugs::DB::Result::BugBinpackage",
212 { "foreign.bug_id" => "self.id" },
213 { cascade_copy => 0, cascade_delete => 0 },
216 =head2 bug_blocks_blocks
220 Related object: L<Debbugs::DB::Result::BugBlock>
224 __PACKAGE__->has_many(
226 "Debbugs::DB::Result::BugBlock",
227 { "foreign.blocks" => "self.id" },
228 { cascade_copy => 0, cascade_delete => 0 },
231 =head2 bug_blocks_bugs
235 Related object: L<Debbugs::DB::Result::BugBlock>
239 __PACKAGE__->has_many(
241 "Debbugs::DB::Result::BugBlock",
242 { "foreign.bug_id" => "self.id" },
243 { cascade_copy => 0, cascade_delete => 0 },
246 =head2 bug_merged_bugs
250 Related object: L<Debbugs::DB::Result::BugMerged>
254 __PACKAGE__->has_many(
256 "Debbugs::DB::Result::BugMerged",
257 { "foreign.bug_id" => "self.id" },
258 { cascade_copy => 0, cascade_delete => 0 },
261 =head2 bug_srcpackages
265 Related object: L<Debbugs::DB::Result::BugSrcpackage>
269 __PACKAGE__->has_many(
271 "Debbugs::DB::Result::BugSrcpackage",
272 { "foreign.bug_id" => "self.id" },
273 { cascade_copy => 0, cascade_delete => 0 },
280 Related object: L<Debbugs::DB::Result::BugTag>
284 __PACKAGE__->has_many(
286 "Debbugs::DB::Result::BugTag",
287 { "foreign.bug_id" => "self.id" },
288 { cascade_copy => 0, cascade_delete => 0 },
295 Related object: L<Debbugs::DB::Result::BugVer>
299 __PACKAGE__->has_many(
301 "Debbugs::DB::Result::BugVer",
302 { "foreign.bug_id" => "self.id" },
303 { cascade_copy => 0, cascade_delete => 0 },
306 =head2 bugs_merged_merged
310 Related object: L<Debbugs::DB::Result::BugMerged>
314 __PACKAGE__->has_many(
315 "bugs_merged_merged",
316 "Debbugs::DB::Result::BugMerged",
317 { "foreign.merged" => "self.id" },
318 { cascade_copy => 0, cascade_delete => 0 },
322 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 21:09:18
323 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k+98VF0kOIp6OReqNNVXDg
326 # You can replace this text with custom code or comments, and it will be preserved on regeneration