2 package Debbugs::DB::Result::BugUserTag;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BugUserTag - Bug <-> user tag mapping
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<bug_user_tag>
36 __PACKAGE__->table("bug_user_tag");
45 sequence: 'bug_user_tag_id_seq'
63 __PACKAGE__->add_columns(
66 data_type => "integer",
67 is_auto_increment => 1,
69 sequence => "bug_user_tag_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_user_tag_bug_tag>
103 __PACKAGE__->add_unique_constraint("bug_user_tag_bug_tag", ["bug", "user_tag"]);
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::UserTag>
130 __PACKAGE__->belongs_to(
132 "Debbugs::DB::Result::UserTag",
133 { id => "user_tag" },
134 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
138 # Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-09-24 14:51:07
139 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bczKcbFkWt98BDvXLdhpcg
142 # You can replace this text with custom code or comments, and it will be preserved on regeneration