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>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
34 __PACKAGE__->table("tag");
43 sequence: 'tag_id_seq'
60 Whether a tag is obsolete (should not be set on new bugs)
64 __PACKAGE__->add_columns(
67 data_type => "integer",
68 is_auto_increment => 1,
70 sequence => "tag_id_seq",
73 { data_type => "text", is_nullable => 0 },
75 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
88 __PACKAGE__->set_primary_key("id");
90 =head1 UNIQUE CONSTRAINTS
102 __PACKAGE__->add_unique_constraint("tag_tag_key", ["tag"]);
110 Related object: L<Debbugs::DB::Result::BugTag>
114 __PACKAGE__->has_many(
116 "Debbugs::DB::Result::BugTag",
117 { "foreign.tag" => "self.id" },
118 { cascade_copy => 0, cascade_delete => 0 },
122 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
123 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Xx50RAuyQQ3VpS0ypsFEQ
126 # You can replace this text with custom code or comments, and it will be preserved on regeneration