2 package Debbugs::DB::Result::Tag;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Tag - Bug tags
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");
36 __PACKAGE__->table("tag");
45 sequence: 'tag_id_seq'
62 Whether a tag is obsolete (should not be set on new bugs)
66 __PACKAGE__->add_columns(
69 data_type => "integer",
70 is_auto_increment => 1,
72 sequence => "tag_id_seq",
75 { data_type => "text", is_nullable => 0 },
77 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
90 __PACKAGE__->set_primary_key("id");
92 =head1 UNIQUE CONSTRAINTS
104 __PACKAGE__->add_unique_constraint("tag_tag_key", ["tag"]);
112 Related object: L<Debbugs::DB::Result::BugTag>
116 __PACKAGE__->has_many(
118 "Debbugs::DB::Result::BugTag",
119 { "foreign.tag" => "self.id" },
120 { cascade_copy => 0, cascade_delete => 0 },
124 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
125 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HH2aKSj4xl+co6qffSdrrQ
128 # You can replace this text with custom code or comments, and it will be preserved on regeneration