]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Tag.pm
update result classes for new relationships
[debbugs.git] / Debbugs / DB / Result / Tag.pm
index 567c2b5296c850646c45f61d0e0bf5c448d56d9a..85a2263dc71ef6c4c45077b6594861717c574103 100644 (file)
@@ -6,7 +6,7 @@ package Debbugs::DB::Result::Tag;
 
 =head1 NAME
 
-Debbugs::DB::Result::Tag
+Debbugs::DB::Result::Tag - Bug tags
 
 =cut
 
@@ -42,17 +42,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 +114,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.07025 @ 2013-04-01 15:46:42
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O+iuATuRz+/8rETu8oYO9Q
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration