]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Tag.pm
switch to compatibility level 12
[debbugs.git] / Debbugs / DB / Result / Tag.pm
index 567c2b5296c850646c45f61d0e0bf5c448d56d9a..c8d539720f5def626952d0e0fe78418fafa0f5c4 100644 (file)
@@ -6,7 +6,7 @@ package Debbugs::DB::Result::Tag;
 
 =head1 NAME
 
-Debbugs::DB::Result::Tag
+Debbugs::DB::Result::Tag - Bug tags
 
 =cut
 
@@ -21,11 +21,13 @@ use base 'DBIx::Class::Core';
 
 =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>
 
@@ -42,17 +44,23 @@ __PACKAGE__->table("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(
@@ -108,13 +116,13 @@ Related object: L<Debbugs::DB::Result::BugTag>
 __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