2 package Debbugs::DB::Result::BugBlock;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BugBlock - Bugs which block other bugs
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
30 =head1 TABLE: C<bug_blocks>
34 __PACKAGE__->table("bug_blocks");
43 sequence: 'bug_blocks_id_seq'
59 Bug number which is blocked by bug
63 __PACKAGE__->add_columns(
66 data_type => "integer",
67 is_auto_increment => 1,
69 sequence => "bug_blocks_id_seq",
72 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
87 __PACKAGE__->set_primary_key("id");
89 =head1 UNIQUE CONSTRAINTS
91 =head2 C<bug_blocks_bug_id_blocks_idx>
103 __PACKAGE__->add_unique_constraint("bug_blocks_bug_id_blocks_idx", ["bug", "blocks"]);
111 Related object: L<Debbugs::DB::Result::Bug>
115 __PACKAGE__->belongs_to(
117 "Debbugs::DB::Result::Bug",
119 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
126 Related object: L<Debbugs::DB::Result::Bug>
130 __PACKAGE__->belongs_to(
132 "Debbugs::DB::Result::Bug",
134 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
138 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
139 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5IuTgATXoFsL6XBFxDp5wg
142 # You can replace this text with custom code or comments, and it will be preserved on regeneration