From 0301624b022e2abb2caf4502bfc2d59c23099afc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 12 Jul 2021 15:41:45 +0200 Subject: [PATCH] Bug 20472: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/ArticleRequest.pm | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ArticleRequest.pm b/Koha/Schema/Result/ArticleRequest.pm index b1bf431329..8350a9f03b 100644 --- a/Koha/Schema/Result/ArticleRequest.pm +++ b/Koha/Schema/Result/ArticleRequest.pm @@ -106,6 +106,18 @@ __PACKAGE__->table("article_requests"); data_type: 'mediumtext' is_nullable: 1 +=head2 format + + data_type: 'enum' + default_value: 'PHOTOCOPY' + extra: {list => ["PHOTOCOPY","SCAN"]} + is_nullable: 0 + +=head2 urls + + data_type: 'mediumtext' + is_nullable: 1 + =head2 created_on data_type: 'timestamp' @@ -159,6 +171,15 @@ __PACKAGE__->add_columns( }, "notes", { data_type => "mediumtext", is_nullable => 1 }, + "format", + { + data_type => "enum", + default_value => "PHOTOCOPY", + extra => { list => ["PHOTOCOPY", "SCAN"] }, + is_nullable => 0, + }, + "urls", + { data_type => "mediumtext", is_nullable => 1 }, "created_on", { data_type => "timestamp", @@ -259,8 +280,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5V0gW/nMkgDImbKMlIa2BA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:41:15 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GVaBsoeXb0EiuKTJYkWLEg # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5