]> git.donarmstrong.com Git - debbugs.git/commitdiff
update result classes for new relationships
authorDon Armstrong <don@donarmstrong.com>
Tue, 2 Apr 2013 00:48:18 +0000 (17:48 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 2 Apr 2013 00:48:18 +0000 (17:48 -0700)
26 files changed:
Debbugs/DB/Result/Arch.pm
Debbugs/DB/Result/BinAssociation.pm
Debbugs/DB/Result/BinPkg.pm
Debbugs/DB/Result/BinVer.pm
Debbugs/DB/Result/BinaryVersion.pm
Debbugs/DB/Result/Bug.pm
Debbugs/DB/Result/BugBinpackage.pm
Debbugs/DB/Result/BugBlock.pm
Debbugs/DB/Result/BugMerged.pm
Debbugs/DB/Result/BugMessage.pm
Debbugs/DB/Result/BugPackage.pm
Debbugs/DB/Result/BugSrcpackage.pm
Debbugs/DB/Result/BugTag.pm
Debbugs/DB/Result/BugVer.pm
Debbugs/DB/Result/Correspondent.pm
Debbugs/DB/Result/CorrespondentFullName.pm
Debbugs/DB/Result/Maintainer.pm
Debbugs/DB/Result/Message.pm
Debbugs/DB/Result/MessageCorrespondent.pm
Debbugs/DB/Result/MessageRef.pm
Debbugs/DB/Result/Severity.pm
Debbugs/DB/Result/SrcAssociation.pm
Debbugs/DB/Result/SrcPkg.pm
Debbugs/DB/Result/SrcVer.pm
Debbugs/DB/Result/Suite.pm
Debbugs/DB/Result/Tag.pm

index c83919df6bd81f6abd31148f8a10519279ea0ce0..420d325dd26baab40d4ace75238dab70dd5fdbff 100644 (file)
@@ -108,9 +108,24 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
+=head2 bug_status_caches
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uGFK5fZtpICxsMMtGzTgww
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::BugStatusCache>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bug_status_caches",
+  "Debbugs::DB::Result::BugStatusCache",
+  { "foreign.arch" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkMopbSgd3Carub/plyQQA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 622aea7c1a971b3c3be91e9002093d18a1201589..c074597c43bd4d111bbe9a45833dd3aebe87fd3d 100644 (file)
@@ -153,8 +153,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6mrwiUeFTasNbK3nr0qT5g
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CuIGLI5HKte90nfppS4Phw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 7b007b485674e1d02a64eb0bc7711419cd0747e8..e951e03c539b10893bafdf85d723813f1eba73af 100644 (file)
@@ -124,8 +124,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1oGi5SVSzjSxaUmwZBtogw
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E/y1hURij+mI11E63GPZZg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index ec98991644858e4c1e3e0e90334579ba5a6472f5..688b7fe0713f9f977f26c0ecbbdf93bd584b7da0 100644 (file)
@@ -202,8 +202,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Ff81rK1vte+lYz15XofpA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3K+5M1Rohq6AB4uLnVco+w
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 6404f2ad22b6d3ceeed6940de962cb77d9b10060..a959c82630d0d2b903d06a9a97d022830645471e 100644 (file)
@@ -90,8 +90,8 @@ __PACKAGE__->add_columns(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-22 16:20:31
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:77yN9sUsXItcsQ1qJETQaw
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PiJglTBqLYRIi63gvGWIDQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 7cab97fbdfcfab249591a439ad8863121589035c..2782522ab428ea8bbee11a231f5f4726a954915d 100644 (file)
@@ -115,30 +115,54 @@ Outlook of the bug; empty if it has no outlook
 
 Subject of the bug
 
-=head2 done
+=head2 severity
 
-  data_type: 'text'
-  default_value: (empty string)
+  data_type: 'integer'
+  is_foreign_key: 1
   is_nullable: 0
 
+=head2 done
+
+  data_type: 'integer'
+  is_foreign_key: 1
+  is_nullable: 1
+
 Individual who did the -done; empty if it has never been -done
 
-=head2 owner
+=head2 done_full
 
   data_type: 'text'
   default_value: (empty string)
   is_nullable: 0
 
+=head2 owner
+
+  data_type: 'integer'
+  is_foreign_key: 1
+  is_nullable: 1
+
 Individual who owns this bug; empty if no one owns it
 
-=head2 submitter
+=head2 owner_full
 
   data_type: 'text'
   default_value: (empty string)
   is_nullable: 0
 
+=head2 submitter
+
+  data_type: 'integer'
+  is_foreign_key: 1
+  is_nullable: 1
+
 Individual who submitted this bug; empty if there is no submitter
 
+=head2 submitter_full
+
+  data_type: 'text'
+  default_value: (empty string)
+  is_nullable: 0
+
 =head2 unknown_packages
 
   data_type: 'text'
@@ -185,11 +209,19 @@ __PACKAGE__->add_columns(
   { data_type => "text", default_value => "", is_nullable => 0 },
   "subject",
   { data_type => "text", is_nullable => 0 },
+  "severity",
+  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
   "done",
+  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
+  "done_full",
   { data_type => "text", default_value => "", is_nullable => 0 },
   "owner",
+  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
+  "owner_full",
   { data_type => "text", default_value => "", is_nullable => 0 },
   "submitter",
+  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
+  "submitter_full",
   { data_type => "text", default_value => "", is_nullable => 0 },
   "unknown_packages",
   { data_type => "text", default_value => "", is_nullable => 0 },
@@ -284,21 +316,6 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 bug_severity
-
-Type: might_have
-
-Related object: L<Debbugs::DB::Result::BugSeverity>
-
-=cut
-
-__PACKAGE__->might_have(
-  "bug_severity",
-  "Debbugs::DB::Result::BugSeverity",
-  { "foreign.bug" => "self.id" },
-  { cascade_copy => 0, cascade_delete => 0 },
-);
-
 =head2 bug_srcpackages
 
 Type: has_many
@@ -314,17 +331,17 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 bug_submitters
+=head2 bug_status_caches
 
 Type: has_many
 
-Related object: L<Debbugs::DB::Result::BugSubmitter>
+Related object: L<Debbugs::DB::Result::BugStatusCache>
 
 =cut
 
 __PACKAGE__->has_many(
-  "bug_submitters",
-  "Debbugs::DB::Result::BugSubmitter",
+  "bug_status_caches",
+  "Debbugs::DB::Result::BugStatusCache",
   { "foreign.bug" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
@@ -359,40 +376,99 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 bugs_done_by
+=head2 bugs_merged_merged
 
 Type: has_many
 
-Related object: L<Debbugs::DB::Result::BugDoneBy>
+Related object: L<Debbugs::DB::Result::BugMerged>
 
 =cut
 
 __PACKAGE__->has_many(
-  "bugs_done_by",
-  "Debbugs::DB::Result::BugDoneBy",
-  { "foreign.bug" => "self.id" },
+  "bugs_merged_merged",
+  "Debbugs::DB::Result::BugMerged",
+  { "foreign.merged" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 bugs_merged_merged
+=head2 done
 
-Type: has_many
+Type: belongs_to
 
-Related object: L<Debbugs::DB::Result::BugMerged>
+Related object: L<Debbugs::DB::Result::Correspondent>
 
 =cut
 
-__PACKAGE__->has_many(
-  "bugs_merged_merged",
-  "Debbugs::DB::Result::BugMerged",
-  { "foreign.merged" => "self.id" },
-  { cascade_copy => 0, cascade_delete => 0 },
+__PACKAGE__->belongs_to(
+  "done",
+  "Debbugs::DB::Result::Correspondent",
+  { id => "done" },
+  {
+    is_deferrable => 1,
+    join_type     => "LEFT",
+    on_delete     => "CASCADE",
+    on_update     => "CASCADE",
+  },
+);
+
+=head2 owner
+
+Type: belongs_to
+
+Related object: L<Debbugs::DB::Result::Correspondent>
+
+=cut
+
+__PACKAGE__->belongs_to(
+  "owner",
+  "Debbugs::DB::Result::Correspondent",
+  { id => "owner" },
+  {
+    is_deferrable => 1,
+    join_type     => "LEFT",
+    on_delete     => "CASCADE",
+    on_update     => "CASCADE",
+  },
+);
+
+=head2 severity
+
+Type: belongs_to
+
+Related object: L<Debbugs::DB::Result::Severity>
+
+=cut
+
+__PACKAGE__->belongs_to(
+  "severity",
+  "Debbugs::DB::Result::Severity",
+  { id => "severity" },
+  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
+=head2 submitter
+
+Type: belongs_to
+
+Related object: L<Debbugs::DB::Result::Correspondent>
+
+=cut
+
+__PACKAGE__->belongs_to(
+  "submitter",
+  "Debbugs::DB::Result::Correspondent",
+  { id => "submitter" },
+  {
+    is_deferrable => 1,
+    join_type     => "LEFT",
+    on_delete     => "CASCADE",
+    on_update     => "CASCADE",
+  },
+);
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cPIz8V6KUWZip+5Dvi7+4Q
 
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:59:31
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hRsCzIGJB1krEYpMKmSVYw
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;
index 4f0a1ba462c2cc62bcb99b02bc16818adecb63a0..102feebb8b81c84ecd80194a10c27b6fdd663427 100644 (file)
@@ -135,8 +135,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kfOppT635GeL9tvBVm6VNA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cQ0MmOnrqlxvxubcvh4PBg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index e6f8d30771612e61bc127202ce423f13c13ef784..273eca037dbfdbd5fa08e8e3055296302673a237 100644 (file)
@@ -135,8 +135,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KMeb2Z3p/g1ihuTwbl2R7w
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QswG/RKpqrXvpj74XiV0WQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 881136df37f218380969a32cbe3865359873bda2..7e8781d5b9c3dbf4816f94a7a3cf9b0e12d38990 100644 (file)
@@ -135,8 +135,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:We33XZGYf3rBQO/xmfEOrg
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8wKFwMnVTQBFyOIgB82LSA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 07a43514636a571c318a230bee17b603741bda68..365d27556939c491741455d983254b6b8b7b05cd 100644 (file)
@@ -146,8 +146,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-22 21:34:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v1hxqbRZsqjnYYqfKnuNug
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3UCOADGWEq7+IA7L23sa5A
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 27bdfd494ba83ac41ce9d373d0dab5b915fe69ab..2601f95b706eb8f5a27e4b412d9bb515932983de 100644 (file)
@@ -69,8 +69,8 @@ __PACKAGE__->add_columns(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z0ytKzfSK0huQAZwrklLUA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:593NXq7J5AFjjfFjMLXIvw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index b74fa4c61e3d5461681c9a841afa2bbe976307d0..736074f535bbb1953eb67a20fe3eab11be1d5e23 100644 (file)
@@ -135,8 +135,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:afOJNl3BAD0xSo41IyTJZA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jirMkEXqyqHGMbRiQ2hObw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index d68a93a8176a459ca6bba27e52e438c80a405a8c..81c16edf20533e04d87f5c30a2a1cd8ca857abda 100644 (file)
@@ -50,7 +50,7 @@ __PACKAGE__->table("bug_tag");
 
 Bug id (matches bug)
 
-=head2 tag_id
+=head2 tag
 
   data_type: 'integer'
   is_foreign_key: 1
@@ -70,7 +70,7 @@ __PACKAGE__->add_columns(
   },
   "bug",
   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
-  "tag_id",
+  "tag",
   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
 );
 
@@ -94,13 +94,13 @@ __PACKAGE__->set_primary_key("id");
 
 =item * L</bug>
 
-=item * L</tag_id>
+=item * L</tag>
 
 =back
 
 =cut
 
-__PACKAGE__->add_unique_constraint("bug_tag_bug_tag_id", ["bug", "tag_id"]);
+__PACKAGE__->add_unique_constraint("bug_tag_bug_tag_id", ["bug", "tag"]);
 
 =head1 RELATIONS
 
@@ -130,13 +130,13 @@ Related object: L<Debbugs::DB::Result::Tag>
 __PACKAGE__->belongs_to(
   "tag",
   "Debbugs::DB::Result::Tag",
-  { id => "tag_id" },
+  { id => "tag" },
   { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fGlaYDuI8YCGvA1gY7DNaQ
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7cqkTgwzMw4wP3LtAKaBDg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 9d2bdcc4eb0672dbf3d6ad6e05efca5d38c0a9c5..d35f3e6fd4cec80e3ce78fdb7cb948313a7918b6 100644 (file)
@@ -200,8 +200,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:t2bjlM8I5vRChrNgknwI4g
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WX1pwdsAUjQK28CwCaDQw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index be76b85d0265516c6025ba3bed1eac164e319a89..24cba227e4982d1bafa63fe3a03f9d349cf32c20 100644 (file)
@@ -93,33 +93,48 @@ __PACKAGE__->add_unique_constraint("correspondent_addr_key", ["addr"]);
 
 =head1 RELATIONS
 
+=head2 bug_owners
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::Bug>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bug_owners",
+  "Debbugs::DB::Result::Bug",
+  { "foreign.owner" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
 =head2 bug_submitters
 
 Type: has_many
 
-Related object: L<Debbugs::DB::Result::BugSubmitter>
+Related object: L<Debbugs::DB::Result::Bug>
 
 =cut
 
 __PACKAGE__->has_many(
   "bug_submitters",
-  "Debbugs::DB::Result::BugSubmitter",
+  "Debbugs::DB::Result::Bug",
   { "foreign.submitter" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 bugs_done_by
+=head2 bugs_done
 
 Type: has_many
 
-Related object: L<Debbugs::DB::Result::BugDoneBy>
+Related object: L<Debbugs::DB::Result::Bug>
 
 =cut
 
 __PACKAGE__->has_many(
-  "bugs_done_by",
-  "Debbugs::DB::Result::BugDoneBy",
-  { "foreign.done_by" => "self.id" },
+  "bugs_done",
+  "Debbugs::DB::Result::Bug",
+  { "foreign.done" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
@@ -154,8 +169,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ev/tN0AsOcs7AfC3Iz84dQ
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnVRI1FMGlY8Go0XOM3wwA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index c137ee5cf54a55adfc366c1a60a89ad243b8fc06..738004b09bae0bddae65e3226f7ee7b0df1a8aed 100644 (file)
@@ -87,17 +87,22 @@ __PACKAGE__->set_primary_key("id");
 
 =head1 UNIQUE CONSTRAINTS
 
-=head2 C<correspondent_full_name_full_name_key>
+=head2 C<correspondent_full_name_correspondent_full_name_idx>
 
 =over 4
 
+=item * L</correspondent>
+
 =item * L</full_name>
 
 =back
 
 =cut
 
-__PACKAGE__->add_unique_constraint("correspondent_full_name_full_name_key", ["full_name"]);
+__PACKAGE__->add_unique_constraint(
+  "correspondent_full_name_correspondent_full_name_idx",
+  ["correspondent", "full_name"],
+);
 
 =head1 RELATIONS
 
@@ -117,8 +122,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U7mn1zcYHvgfaD4arcYAeA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 17:05:37
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xGcJNDjhN+ehcFQYzaBxBw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 8ab3d549b8d0e02b4160fc5cc77338d00ce5a66c..53bfc0f1f3a9284c487db051033cfd8e0994275e 100644 (file)
@@ -141,8 +141,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-29 18:11:35
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:34HJCwoLU+I0PN5A1EzhYA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pjSawHrI2qYqUHgkdxgh8g
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 70b876d545dac16ad4601e73b77f9f1f8e264d9b..ef36a9e9cceeb7c5132a14e3c7ef3557329199ec 100644 (file)
@@ -224,8 +224,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M6k3YCfOyYLnQJ+qBcoJlQ
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5H4wsTVgTSnpnO1XcbvhHA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 8609117164cec8958642c58cfefdbec49ca051a1..7792290cd774c8e5fac70ef104d887b24ab13d7d 100644 (file)
@@ -159,8 +159,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-22 21:34:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Fyy71zaVBm59n1blNwJ23w
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d2QCcAGqZtl1l7tx1fEwyg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index a4914d32f8ac03c6c2e49f923c41010ee355564e..9d9d514673bf28d742fa18abd6d3af61702ca5a2 100644 (file)
@@ -155,8 +155,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-22 21:34:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sV72FKvhPxYd6eWvCE4i9Q
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+vwRG2KAV0YTTXZE0Vv21A
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index a78b67668e9869a760b216c25fd095b9b115f313..5a50252e1fe6c109cdafd54949a51ca7b1dc0ae3 100644 (file)
@@ -123,24 +123,24 @@ __PACKAGE__->add_unique_constraint("severity_severity_key", ["severity"]);
 
 =head1 RELATIONS
 
-=head2 bug_severities
+=head2 bugs
 
 Type: has_many
 
-Related object: L<Debbugs::DB::Result::BugSeverity>
+Related object: L<Debbugs::DB::Result::Bug>
 
 =cut
 
 __PACKAGE__->has_many(
-  "bug_severities",
-  "Debbugs::DB::Result::BugSeverity",
-  { "foreign.severity_id" => "self.id" },
+  "bugs",
+  "Debbugs::DB::Result::Bug",
+  { "foreign.severity" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-22 23:19:35
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ofel01VRzkuSKCGAU6hmMg
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 19:35:10
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SVJ20W+hu/tjDthRG38xtA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 0496a64d73101fc8172413966a6d5987c8aa515e..fff8c4c4ef6db58041fc027fb34901a55dbcb9bd 100644 (file)
@@ -153,8 +153,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KLRKATys7SUGy+1bmADToQ
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7lYnCaf4vZZFcZoz2S7O9A
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index ae745c5a54cc4283ef226c3cbab9d48aae662b3e..ac28c908988bc0ac43ea47b1e13692c29204c3d0 100644 (file)
@@ -192,8 +192,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:25A54CF+CL9tRJ6AUDu+FA
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w1ifDwgGG57aeGxFptavbg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 0b86ceda1950466c6f6e44bd30e6e87cbed7e6a0..cd99a165fa884ce3361d33e0648a33cbfbee3194 100644 (file)
@@ -257,8 +257,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I9bHyZBAJim7KZNk9Yd6Vw
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hhXOPJ8se5BVKMsbvf+szw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index fdfab37c69c8f0bbecc0a190cf776268498c3ae5..3723aca8e736c0d4e13f3e8b068b6b01ef21b0c9 100644 (file)
@@ -136,6 +136,21 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
+=head2 bug_status_caches
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::BugStatusCache>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bug_status_caches",
+  "Debbugs::DB::Result::BugStatusCache",
+  { "foreign.suite" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
 =head2 src_associations
 
 Type: has_many
@@ -152,8 +167,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1NiRLPvDC3xRPr7+fbzp/w
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wp8D70L0WeBbMqWkFEZEyQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index cdcef2c37166c2d1c2d2172ae8bf61a5e491aab6..85a2263dc71ef6c4c45077b6594861717c574103 100644 (file)
@@ -114,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 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JNPrdP77YEkirbzdASjcKw
+# 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