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 - Bugs
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");
47 data_type: 'timestamp with time zone'
48 default_value: current_timestamp
50 original: {default_value => \"now()"}
56 data_type: 'timestamp with time zone'
57 default_value: current_timestamp
59 original: {default_value => \"now()"}
61 Time bug log was last modified
65 data_type: 'timestamp with time zone'
66 default_value: current_timestamp
68 original: {default_value => \"now()"}
70 Time bug status was last modified
78 True if bug has been archived
82 data_type: 'timestamp with time zone'
85 Time bug was last unarchived; null if bug has never been unarchived
90 default_value: (empty string)
93 Where bug has been forwarded to; empty if it has not been forwarded
98 default_value: (empty string)
101 Summary of the bug; empty if it has no summary
106 default_value: (empty string)
109 Outlook of the bug; empty if it has no outlook
121 default_value: (empty string)
124 Individual who did the -done; empty if it has never been -done
129 default_value: (empty string)
132 Individual who owns this bug; empty if no one owns it
137 default_value: (empty string)
140 Individual who submitted this bug; empty if there is no submitter
142 =head2 unknown_packages
145 default_value: (empty string)
148 Package name if the package is not known
153 default_value: 'normal'
154 extra: {custom_type_name => "bug_severity",list => ["wishlist","minor","normal","important","serious","grave","critical"]}
161 __PACKAGE__->add_columns(
163 { data_type => "integer", is_nullable => 0 },
166 data_type => "timestamp with time zone",
167 default_value => \"current_timestamp",
169 original => { default_value => \"now()" },
173 data_type => "timestamp with time zone",
174 default_value => \"current_timestamp",
176 original => { default_value => \"now()" },
180 data_type => "timestamp with time zone",
181 default_value => \"current_timestamp",
183 original => { default_value => \"now()" },
186 { data_type => "boolean", default_value => \"false", is_nullable => 0 },
188 { data_type => "timestamp with time zone", is_nullable => 1 },
190 { data_type => "text", default_value => "", is_nullable => 0 },
192 { data_type => "text", default_value => "", is_nullable => 0 },
194 { data_type => "text", default_value => "", is_nullable => 0 },
196 { data_type => "text", is_nullable => 0 },
198 { data_type => "text", default_value => "", is_nullable => 0 },
200 { data_type => "text", default_value => "", is_nullable => 0 },
202 { data_type => "text", default_value => "", is_nullable => 0 },
204 { data_type => "text", default_value => "", is_nullable => 0 },
208 default_value => "normal",
210 custom_type_name => "bug_severity",
235 __PACKAGE__->set_primary_key("id");
239 =head2 bug_binpackages
243 Related object: L<Debbugs::DB::Result::BugBinpackage>
247 __PACKAGE__->has_many(
249 "Debbugs::DB::Result::BugBinpackage",
250 { "foreign.bug_id" => "self.id" },
251 { cascade_copy => 0, cascade_delete => 0 },
254 =head2 bug_blocks_blocks
258 Related object: L<Debbugs::DB::Result::BugBlock>
262 __PACKAGE__->has_many(
264 "Debbugs::DB::Result::BugBlock",
265 { "foreign.blocks" => "self.id" },
266 { cascade_copy => 0, cascade_delete => 0 },
269 =head2 bug_blocks_bugs
273 Related object: L<Debbugs::DB::Result::BugBlock>
277 __PACKAGE__->has_many(
279 "Debbugs::DB::Result::BugBlock",
280 { "foreign.bug_id" => "self.id" },
281 { cascade_copy => 0, cascade_delete => 0 },
284 =head2 bug_merged_bugs
288 Related object: L<Debbugs::DB::Result::BugMerged>
292 __PACKAGE__->has_many(
294 "Debbugs::DB::Result::BugMerged",
295 { "foreign.bug_id" => "self.id" },
296 { cascade_copy => 0, cascade_delete => 0 },
303 Related object: L<Debbugs::DB::Result::BugMessage>
307 __PACKAGE__->has_many(
309 "Debbugs::DB::Result::BugMessage",
310 { "foreign.bug" => "self.id" },
311 { cascade_copy => 0, cascade_delete => 0 },
314 =head2 bug_srcpackages
318 Related object: L<Debbugs::DB::Result::BugSrcpackage>
322 __PACKAGE__->has_many(
324 "Debbugs::DB::Result::BugSrcpackage",
325 { "foreign.bug_id" => "self.id" },
326 { cascade_copy => 0, cascade_delete => 0 },
333 Related object: L<Debbugs::DB::Result::BugTag>
337 __PACKAGE__->has_many(
339 "Debbugs::DB::Result::BugTag",
340 { "foreign.bug_id" => "self.id" },
341 { cascade_copy => 0, cascade_delete => 0 },
348 Related object: L<Debbugs::DB::Result::BugVer>
352 __PACKAGE__->has_many(
354 "Debbugs::DB::Result::BugVer",
355 { "foreign.bug_id" => "self.id" },
356 { cascade_copy => 0, cascade_delete => 0 },
359 =head2 bugs_merged_merged
363 Related object: L<Debbugs::DB::Result::BugMerged>
367 __PACKAGE__->has_many(
368 "bugs_merged_merged",
369 "Debbugs::DB::Result::BugMerged",
370 { "foreign.merged" => "self.id" },
371 { cascade_copy => 0, cascade_delete => 0 },
375 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-22 16:20:31
376 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cvwpg/d7shs9bxFOQZhNVg
379 # You can replace this text with custom code or comments, and it will be preserved on regeneration