From 30b3185d7faef3098f7e0a25abb7d4837837857e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Oct 2021 11:42:07 +0200 Subject: [PATCH] Bug 27944: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/ArticleRequest.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/ArticleRequest.pm b/Koha/Schema/Result/ArticleRequest.pm index 8350a9f03b..c7f5722e5f 100644 --- a/Koha/Schema/Result/ArticleRequest.pm +++ b/Koha/Schema/Result/ArticleRequest.pm @@ -97,8 +97,8 @@ __PACKAGE__->table("article_requests"); =head2 status data_type: 'enum' - default_value: 'PENDING' - extra: {list => ["PENDING","PROCESSING","COMPLETED","CANCELED"]} + default_value: 'REQUESTED' + extra: {list => ["REQUESTED","PENDING","PROCESSING","COMPLETED","CANCELED"]} is_nullable: 0 =head2 notes @@ -165,8 +165,10 @@ __PACKAGE__->add_columns( "status", { data_type => "enum", - default_value => "PENDING", - extra => { list => ["PENDING", "PROCESSING", "COMPLETED", "CANCELED"] }, + default_value => "REQUESTED", + extra => { + list => ["REQUESTED", "PENDING", "PROCESSING", "COMPLETED", "CANCELED"], + }, is_nullable => 0, }, "notes", @@ -280,8 +282,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:41:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GVaBsoeXb0EiuKTJYkWLEg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-05 09:41:35 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ggHkJJqH+JUwQSAi7yDI1w # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5