]> git.donarmstrong.com Git - debbugs.git/commitdiff
add unknown_affects to the bug table
authorDon Armstrong <don@donarmstrong.com>
Wed, 11 Apr 2018 20:09:18 +0000 (13:09 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 11 Apr 2018 20:09:54 +0000 (13:09 -0700)
Debbugs/DB.pm
Debbugs/DB/Result/Bug.pm
sql/debbugs_schema.sql

index be8f47afebd394cded6a71e4a14930af4440d4bc..6941a5f3a96564b189f796e2db2b26c23e1a1754 100644 (file)
@@ -17,7 +17,7 @@ __PACKAGE__->load_namespaces;
 
 # This version must be incremented any time the schema changes so that
 # DBIx::Class::DeploymentHandler can do its work
-our $VERSION=10;
+our $VERSION=11;
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 
index 7c7fb63c9b36aa848c3f0692d22d3a87bef7b072..75eec8cda9c03b1cb3bf5cf3ec5970426205815d 100644 (file)
@@ -173,6 +173,14 @@ Individual who submitted this bug; empty if there is no submitter
 
 Package name if the package is not known
 
+=head2 unknown_affects
+
+  data_type: 'text'
+  default_value: (empty string)
+  is_nullable: 0
+
+Package name if the affected package is not known
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -227,6 +235,8 @@ __PACKAGE__->add_columns(
   { data_type => "text", default_value => "", is_nullable => 0 },
   "unknown_packages",
   { data_type => "text", default_value => "", is_nullable => 0 },
+  "unknown_affects",
+  { data_type => "text", default_value => "", is_nullable => 0 },
 );
 
 =head1 PRIMARY KEY
@@ -514,8 +524,8 @@ __PACKAGE__->belongs_to(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-09-24 14:51:07
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iaipVETTaokcFNrICfIEAw
+# Created by DBIx::Class::Schema::Loader v0.07048 @ 2018-04-11 13:06:55
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qxkLXbv8JGoV9reebbOUEw
 
 use Carp;
 use List::AllUtils qw(uniq);
index b20ceb079addd81025837184a66b94d36b1f7616..c091a6e5396d971aa76d54dc0fe0038b4b1eda7f 100644 (file)
@@ -113,7 +113,8 @@ CREATE TABLE bug (
        -- submitter would ideally be NOT NULL, but there are some ancient bugs which do not have submitters
        submitter INT REFERENCES correspondent(id),
        submitter_full TEXT NOT NULL DEFAULT '',
-       unknown_packages TEXT NOT NULL DEfAULT ''
+       unknown_packages TEXT NOT NULL DEFAULT '',
+       unknown_affects TEXT NOT NULL DEFAULT ''
 );
 CREATE INDEX bug_idx_owner ON bug(owner);
 CREATE INDEX bug_idx_submitter ON bug(submitter);
@@ -139,6 +140,7 @@ INSERT INTO column_comments VALUES ('bug','done','Individual who did the -done;
 INSERT INTO column_comments VALUES ('bug','owner','Individual who owns this bug; empty if no one owns it');
 INSERT INTO column_comments VALUES ('bug','submitter','Individual who submitted this bug; empty if there is no submitter');
 INSERT INTO column_comments VALUES ('bug','unknown_packages','Package name if the package is not known');
+INSERT INTO column_comments VALUES ('bug','unknown_affects','Package name if the affected package is not known');