=head1 NAME
-Debbugs::DB::Result::Tag
+Debbugs::DB::Result::Tag - Bug tags
=cut
=item * L<DBIx::Class::InflateColumn::DateTime>
+=item * L<DBIx::Class::TimeStamp>
+
=back
=cut
-__PACKAGE__->load_components("InflateColumn::DateTime");
+__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
=head1 TABLE: C<tag>
is_nullable: 0
sequence: 'tag_id_seq'
+Tag id
+
=head2 tag
data_type: 'text'
is_nullable: 0
+Tag name
+
=head2 obsolete
data_type: 'boolean'
default_value: false
is_nullable: 1
+Whether a tag is obsolete (should not be set on new bugs)
+
=cut
__PACKAGE__->add_columns(
__PACKAGE__->has_many(
"bug_tags",
"Debbugs::DB::Result::BugTag",
- { "foreign.tag_id" => "self.id" },
+ { "foreign.tag" => "self.id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 21:09:18
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4ea1AINoa4KQxMnX4oZwmA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HH2aKSj4xl+co6qffSdrrQ
# You can replace this text with custom code or comments, and it will be preserved on regeneration