Bugzilla – Attachment 152252 Details for
Bug 33970
We need a "backend" column in "illrequestattributes" table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33970: [DONT PUSH] dbic file
Bug-33970-DONT-PUSH-dbic-file.patch (text/plain), 1.71 KB, created by
Pedro Amorim
on 2023-06-09 14:16:09 UTC
(
hide
)
Description:
Bug 33970: [DONT PUSH] dbic file
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-06-09 14:16:09 UTC
Size:
1.71 KB
patch
obsolete
>From 43fd80634cc1cae15eea38941a4f3b3c666a175e Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 9 Jun 2023 14:15:17 +0000 >Subject: [PATCH] Bug 33970: [DONT PUSH] dbic file > >--- > Koha/Schema/Result/Illrequestattribute.pm | 18 +++++++++++++++--- > 1 file changed, 15 insertions(+), 3 deletions(-) > >diff --git a/Koha/Schema/Result/Illrequestattribute.pm b/Koha/Schema/Result/Illrequestattribute.pm >index c5e7af75d3..4e8792ecb2 100644 >--- a/Koha/Schema/Result/Illrequestattribute.pm >+++ b/Koha/Schema/Result/Illrequestattribute.pm >@@ -32,6 +32,14 @@ __PACKAGE__->table("illrequestattributes"); > > ILL request number > >+=head2 backend >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 80 >+ >+API ILL backend name >+ > =head2 type > > data_type: 'varchar' >@@ -65,6 +73,8 @@ __PACKAGE__->add_columns( > is_foreign_key => 1, > is_nullable => 0, > }, >+ "backend", >+ { data_type => "varchar", is_nullable => 0, size => 80 }, > "type", > { data_type => "varchar", is_nullable => 0, size => 200 }, > "value", >@@ -79,13 +89,15 @@ __PACKAGE__->add_columns( > > =item * L</illrequest_id> > >+=item * L</backend> >+ > =item * L</type> > > =back > > =cut > >-__PACKAGE__->set_primary_key("illrequest_id", "type"); >+__PACKAGE__->set_primary_key("illrequest_id", "backend", "type"); > > =head1 RELATIONS > >@@ -105,8 +117,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:qNhL5kiGVR8WroCHQY5DyQ >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-06-09 11:54:42 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ow8+a/KMNgMqYLdECtKY+g > > __PACKAGE__->add_columns( > '+readonly' => { is_boolean => 1 } >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33970
:
152250
|
152251
|
152252
|
153263
|
153264
|
153265
|
154903
|
157433
|
157434
|
157435
|
157436
|
157437