From 237ee7e34a8c46985113e7cfd24fb59e92355227 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 7 Aug 2017 09:59:42 -0700 Subject: [PATCH] modify bug_status_type to match what bug_presence returns --- Debbugs/DB.pm | 2 +- Debbugs/DB/Result/BugStatusCache.pm | 15 ++++----------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Debbugs/DB.pm b/Debbugs/DB.pm index e4ec1da..4e6d3cb 100644 --- a/Debbugs/DB.pm +++ b/Debbugs/DB.pm @@ -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=7; +our $VERSION=8; # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Debbugs/DB/Result/BugStatusCache.pm b/Debbugs/DB/Result/BugStatusCache.pm index 62acdac..26b850e 100644 --- a/Debbugs/DB/Result/BugStatusCache.pm +++ b/Debbugs/DB/Result/BugStatusCache.pm @@ -64,7 +64,7 @@ Architecture id (matches arch) =head2 status data_type: 'enum' - extra: {custom_type_name => "bug_status_type",list => ["pending","forwarded","pending-fixed","fixed","absent","done"]} + extra: {custom_type_name => "bug_status_type",list => ["absent","found","fixed","undef"]} is_nullable: 0 Status (bug status) @@ -101,14 +101,7 @@ __PACKAGE__->add_columns( data_type => "enum", extra => { custom_type_name => "bug_status_type", - list => [ - "pending", - "forwarded", - "pending-fixed", - "fixed", - "absent", - "done", - ], + list => ["absent", "found", "fixed", "undef"], }, is_nullable => 0, }, @@ -207,8 +200,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-03-04 10:59:03 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dgaCogdpUWo99BQhdH68Mg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-08-07 09:58:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RNAken/j2+82FVCyCTnvQw sub sqlt_deploy_hook { my ($self, $sqlt_table) = @_; -- 2.39.2