]> git.donarmstrong.com Git - debbugs.git/commitdiff
update for correspondent in maintainer
authorDon Armstrong <don@donarmstrong.com>
Thu, 7 Nov 2013 05:20:50 +0000 (21:20 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 7 Nov 2013 05:20:50 +0000 (21:20 -0800)
23 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/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/MessageCorrespondent.pm
Debbugs/DB/Result/MessageRef.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 420d325dd26baab40d4ace75238dab70dd5fdbff..ef26e3cf89860aa4b19a952a09fce308779e65cc 100644 (file)
@@ -124,8 +124,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkMopbSgd3Carub/plyQQA
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lp58Ajmt1p8qgL26cbgHZA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index c074597c43bd4d111bbe9a45833dd3aebe87fd3d..7f32065d773a96a8bd363fc7f4b239d7e0e8a87e 100644 (file)
@@ -134,7 +134,7 @@ __PACKAGE__->belongs_to(
   "bin",
   "Debbugs::DB::Result::BinVer",
   { id => "bin" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 suite
@@ -149,12 +149,12 @@ __PACKAGE__->belongs_to(
   "suite",
   "Debbugs::DB::Result::Suite",
   { id => "suite" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CuIGLI5HKte90nfppS4Phw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:23:58
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zEtAfQAP6UdXRqAF3PaBGA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index e951e03c539b10893bafdf85d723813f1eba73af..861c7660aa56a92062e3913128c8df00b47929af 100644 (file)
@@ -124,8 +124,8 @@ __PACKAGE__->has_many(
 );
 
 
-# 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
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k32MQX4vbBhX4m9+EqR7ww
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 688b7fe0713f9f977f26c0ecbbdf93bd584b7da0..d18614b7c022aa61f4271fb64e8f1c58e808f7c6 100644 (file)
@@ -153,7 +153,7 @@ __PACKAGE__->belongs_to(
   "arch",
   "Debbugs::DB::Result::Arch",
   { id => "arch_id" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 bin_associations
@@ -183,7 +183,7 @@ __PACKAGE__->belongs_to(
   "bin_pkg",
   "Debbugs::DB::Result::BinPkg",
   { id => "bin_pkg" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 src_ver
@@ -198,12 +198,12 @@ __PACKAGE__->belongs_to(
   "src_ver",
   "Debbugs::DB::Result::SrcVer",
   { id => "src_ver_id" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# 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
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQGstQI5fa/5pJhSi7AtYg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 2782522ab428ea8bbee11a231f5f4726a954915d..ab08d49b7c907ac21926d143a1e5b754e4e6d968 100644 (file)
@@ -301,6 +301,21 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
+=head2 bug_mergeds_merged
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::BugMerged>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bug_mergeds_merged",
+  "Debbugs::DB::Result::BugMerged",
+  { "foreign.merged" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
 =head2 bug_messages
 
 Type: has_many
@@ -376,21 +391,6 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 bugs_merged_merged
-
-Type: has_many
-
-Related object: L<Debbugs::DB::Result::BugMerged>
-
-=cut
-
-__PACKAGE__->has_many(
-  "bugs_merged_merged",
-  "Debbugs::DB::Result::BugMerged",
-  { "foreign.merged" => "self.id" },
-  { cascade_copy => 0, cascade_delete => 0 },
-);
-
 =head2 done
 
 Type: belongs_to
@@ -404,10 +404,10 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::Correspondent",
   { id => "done" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
-    on_update     => "CASCADE",
+    on_delete     => "NO ACTION",
+    on_update     => "NO ACTION",
   },
 );
 
@@ -424,10 +424,10 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::Correspondent",
   { id => "owner" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
-    on_update     => "CASCADE",
+    on_delete     => "NO ACTION",
+    on_update     => "NO ACTION",
   },
 );
 
@@ -443,7 +443,7 @@ __PACKAGE__->belongs_to(
   "severity",
   "Debbugs::DB::Result::Severity",
   { id => "severity" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 submitter
@@ -459,16 +459,16 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::Correspondent",
   { id => "submitter" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
-    on_update     => "CASCADE",
+    on_delete     => "NO ACTION",
+    on_update     => "NO ACTION",
   },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:59:31
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hRsCzIGJB1krEYpMKmSVYw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iaePW9PF93j30EB5iY9Bag
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;
index 102feebb8b81c84ecd80194a10c27b6fdd663427..e031b824ad8c67050386a337c700da572cfd938c 100644 (file)
@@ -116,7 +116,7 @@ __PACKAGE__->belongs_to(
   "bin_pkg",
   "Debbugs::DB::Result::BinPkg",
   { id => "bin_pkg" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 bug
@@ -131,12 +131,12 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cQ0MmOnrqlxvxubcvh4PBg
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VDOd/VQL46JFDA5cj33bHQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 273eca037dbfdbd5fa08e8e3055296302673a237..b175f23bd4369eaa7d4b4ff3ab4aae004bbc5a7d 100644 (file)
@@ -116,7 +116,7 @@ __PACKAGE__->belongs_to(
   "block",
   "Debbugs::DB::Result::Bug",
   { id => "blocks" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 bug
@@ -131,12 +131,12 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QswG/RKpqrXvpj74XiV0WQ
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5IuTgATXoFsL6XBFxDp5wg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 7e8781d5b9c3dbf4816f94a7a3cf9b0e12d38990..324352805dedd60243f47d04d0781134b41defb1 100644 (file)
@@ -116,7 +116,7 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 merged
@@ -131,12 +131,12 @@ __PACKAGE__->belongs_to(
   "merged",
   "Debbugs::DB::Result::Bug",
   { id => "merged" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8wKFwMnVTQBFyOIgB82LSA
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GILRzg9MHEZ4k8h6aJxISA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 365d27556939c491741455d983254b6b8b7b05cd..7870ed572f8771e575061414481d05fe20479231 100644 (file)
@@ -127,7 +127,7 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 message
@@ -142,12 +142,12 @@ __PACKAGE__->belongs_to(
   "message",
   "Debbugs::DB::Result::Message",
   { id => "message" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3UCOADGWEq7+IA7L23sa5A
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mDjAtzaj5diA9b0YFK/7cA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 2601f95b706eb8f5a27e4b412d9bb515932983de..5ef0b8abaf987d735a8f7be12e1d057c479f452e 100644 (file)
@@ -69,8 +69,8 @@ __PACKAGE__->add_columns(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:593NXq7J5AFjjfFjMLXIvw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0HCzRExM+h0kYmDmvij1pA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 736074f535bbb1953eb67a20fe3eab11be1d5e23..c542b4564dbfa5ac15cbb558478ab0e77651b7c1 100644 (file)
@@ -116,7 +116,7 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 src_pkg
@@ -131,12 +131,12 @@ __PACKAGE__->belongs_to(
   "src_pkg",
   "Debbugs::DB::Result::SrcPkg",
   { id => "src_pkg" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jirMkEXqyqHGMbRiQ2hObw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I/9GEPtJDUwfJq0BwrqpMA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 81c16edf20533e04d87f5c30a2a1cd8ca857abda..1f3d30e7f96fde49d90dfdba8c7f34279f7c5005 100644 (file)
@@ -116,7 +116,7 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 tag
@@ -131,12 +131,12 @@ __PACKAGE__->belongs_to(
   "tag",
   "Debbugs::DB::Result::Tag",
   { id => "tag" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7cqkTgwzMw4wP3LtAKaBDg
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cu5Qrkpu/4fEUNUBgUEmWw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index d35f3e6fd4cec80e3ce78fdb7cb948313a7918b6..95475f634e5a07e61d032d05286f6b43665582eb 100644 (file)
@@ -156,7 +156,7 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "RESTRICT", on_update => "CASCADE" },
 );
 
 =head2 src_pkg
@@ -172,9 +172,9 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::SrcPkg",
   { id => "src_pkg" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
+    on_delete     => "SET NULL",
     on_update     => "CASCADE",
   },
 );
@@ -192,16 +192,16 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::SrcVer",
   { id => "src_ver_id" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
+    on_delete     => "SET NULL",
     on_update     => "CASCADE",
   },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WX1pwdsAUjQK28CwCaDQw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AlnpfT/8jqREfK5zVfPyPw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 24cba227e4982d1bafa63fe3a03f9d349cf32c20..8646464d61c520828aad090fb0e81d5af94ce461 100644 (file)
@@ -153,6 +153,21 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
+=head2 maintainers
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::Maintainer>
+
+=cut
+
+__PACKAGE__->has_many(
+  "maintainers",
+  "Debbugs::DB::Result::Maintainer",
+  { "foreign.correspondent" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
 =head2 message_correspondents
 
 Type: has_many
@@ -169,8 +184,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnVRI1FMGlY8Go0XOM3wwA
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wyisfi/87NgArvWis4/tuw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 738004b09bae0bddae65e3226f7ee7b0df1a8aed..1d2c66802fff0ac9160920b129759ad6cff03a56 100644 (file)
@@ -118,12 +118,12 @@ __PACKAGE__->belongs_to(
   "correspondent",
   "Debbugs::DB::Result::Correspondent",
   { id => "correspondent" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 17:05:37
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xGcJNDjhN+ehcFQYzaBxBw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ePNArKbdUxbj/cw4RbMHgg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 53bfc0f1f3a9284c487db051033cfd8e0994275e..f95ab1bdbb760b01c266bcd875600313aacaa7a0 100644 (file)
@@ -51,6 +51,14 @@ Package maintainer id
 
 Name of package maintainer
 
+=head2 correspondent
+
+  data_type: 'integer'
+  is_foreign_key: 1
+  is_nullable: 0
+
+Correspondent ID
+
 =head2 created
 
   data_type: 'timestamp with time zone'
@@ -81,6 +89,8 @@ __PACKAGE__->add_columns(
   },
   "name",
   { data_type => "text", is_nullable => 0 },
+  "correspondent",
+  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
   "created",
   {
     data_type     => "timestamp with time zone",
@@ -125,6 +135,21 @@ __PACKAGE__->add_unique_constraint("maintainer_name_key", ["name"]);
 
 =head1 RELATIONS
 
+=head2 correspondent
+
+Type: belongs_to
+
+Related object: L<Debbugs::DB::Result::Correspondent>
+
+=cut
+
+__PACKAGE__->belongs_to(
+  "correspondent",
+  "Debbugs::DB::Result::Correspondent",
+  { id => "correspondent" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
+);
+
 =head2 src_vers
 
 Type: has_many
@@ -141,8 +166,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pjSawHrI2qYqUHgkdxgh8g
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wKZL5dHGvpVvuI9o0mh7fQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 7792290cd774c8e5fac70ef104d887b24ab13d7d..0e5840d136266d22fdb1192527e73a105628ded7 100644 (file)
@@ -140,7 +140,7 @@ __PACKAGE__->belongs_to(
   "correspondent",
   "Debbugs::DB::Result::Correspondent",
   { id => "correspondent" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 message
@@ -155,12 +155,12 @@ __PACKAGE__->belongs_to(
   "message",
   "Debbugs::DB::Result::Message",
   { id => "message" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d2QCcAGqZtl1l7tx1fEwyg
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O+1oiAgBblG5UTsHpF4xRw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 9d9d514673bf28d742fa18abd6d3af61702ca5a2..b035598298ac84b7942ed485959e488098f4bbd3 100644 (file)
@@ -136,7 +136,7 @@ __PACKAGE__->belongs_to(
   "message",
   "Debbugs::DB::Result::Message",
   { id => "message" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 ref
@@ -151,12 +151,12 @@ __PACKAGE__->belongs_to(
   "ref",
   "Debbugs::DB::Result::Message",
   { id => "refs" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+vwRG2KAV0YTTXZE0Vv21A
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oEOZLlhxLd5tyH5IW5KhTA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index fff8c4c4ef6db58041fc027fb34901a55dbcb9bd..c160ca18f561b709b47f7ace80a3a39255d41598 100644 (file)
@@ -134,7 +134,7 @@ __PACKAGE__->belongs_to(
   "source",
   "Debbugs::DB::Result::SrcVer",
   { id => "source" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 suite
@@ -149,12 +149,12 @@ __PACKAGE__->belongs_to(
   "suite",
   "Debbugs::DB::Result::Suite",
   { id => "suite" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7lYnCaf4vZZFcZoz2S7O9A
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:23:58
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3Hl8VlcLTNPdCLO6kMVyxQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index ac28c908988bc0ac43ea47b1e13692c29204c3d0..a76b3f5960a24ad47fbfa2c810431726d32d13d9 100644 (file)
@@ -124,7 +124,7 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::SrcPkg",
   { id => "alias_of" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
     on_delete     => "CASCADE",
     on_update     => "CASCADE",
@@ -192,8 +192,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w1ifDwgGG57aeGxFptavbg
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JYP+MBnjgk3I/XtRNh2UyA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index cd99a165fa884ce3361d33e0648a33cbfbee3194..f6841138e0eac8406f341b90c573256ab634b7cd 100644 (file)
@@ -154,7 +154,7 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::SrcVer",
   { id => "based_on" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
     on_delete     => "CASCADE",
     on_update     => "CASCADE",
@@ -204,9 +204,9 @@ __PACKAGE__->belongs_to(
   "Debbugs::DB::Result::Maintainer",
   { id => "maintainer_id" },
   {
-    is_deferrable => 1,
+    is_deferrable => 0,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
+    on_delete     => "SET NULL",
     on_update     => "CASCADE",
   },
 );
@@ -238,7 +238,7 @@ __PACKAGE__->belongs_to(
   "src_pkg",
   "Debbugs::DB::Result::SrcPkg",
   { id => "src_pkg" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
 =head2 src_vers
@@ -257,8 +257,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hhXOPJ8se5BVKMsbvf+szw
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P1zipd1t+2AOidtCSzyHVw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 3723aca8e736c0d4e13f3e8b068b6b01ef21b0c9..2170d6d7fbc08246a13cec875c94729385949be4 100644 (file)
@@ -167,8 +167,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wp8D70L0WeBbMqWkFEZEyQ
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xIVtTLCQc72u8xQOuwQhrQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
index 85a2263dc71ef6c4c45077b6594861717c574103..3bbcccb47c60f5022612ec72a6231ae7fae0e767 100644 (file)
@@ -119,8 +119,8 @@ __PACKAGE__->has_many(
 );
 
 
-# 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
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Xx50RAuyQQ3VpS0ypsFEQ
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration