Bugzilla – Attachment 112377 Details for
Bug 26814
Add onsite_checkout to circulation rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26814: Schema changes
Bug-26814-Schema-changes.patch (text/plain), 2.03 KB, created by
Lari Taskula
on 2020-10-24 04:20:30 UTC
(
hide
)
Description:
Bug 26814: Schema changes
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2020-10-24 04:20:30 UTC
Size:
2.03 KB
patch
obsolete
>From 15a1586950069eecd02fddc33b0845b0848903b0 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Sun, 5 Apr 2020 14:16:17 +0000 >Subject: [PATCH] Bug 26814: Schema changes > >Sponsored-by: The National Library of Finland >--- > Koha/Schema/Result/CirculationRule.pm | 21 ++++++++++++++++++--- > 1 file changed, 18 insertions(+), 3 deletions(-) > >diff --git a/Koha/Schema/Result/CirculationRule.pm b/Koha/Schema/Result/CirculationRule.pm >index 80e6cc2d5a..de4c3b6e25 100644 >--- a/Koha/Schema/Result/CirculationRule.pm >+++ b/Koha/Schema/Result/CirculationRule.pm >@@ -36,6 +36,11 @@ __PACKAGE__->table("circulation_rules"); > is_nullable: 1 > size: 10 > >+=head2 onsite_checkout >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =head2 categorycode > > data_type: 'varchar' >@@ -69,6 +74,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, > "branchcode", > { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, >+ "onsite_checkout", >+ { data_type => "integer", is_nullable => 1 }, > "categorycode", > { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, > "itemtype", >@@ -99,6 +106,8 @@ __PACKAGE__->set_primary_key("id"); > > =item * L</branchcode> > >+=item * L</onsite_checkout> >+ > =item * L</categorycode> > > =item * L</itemtype> >@@ -111,7 +120,13 @@ __PACKAGE__->set_primary_key("id"); > > __PACKAGE__->add_unique_constraint( > "branchcode", >- ["branchcode", "categorycode", "itemtype", "rule_name"], >+ [ >+ "branchcode", >+ "onsite_checkout", >+ "categorycode", >+ "itemtype", >+ "rule_name", >+ ], > ); > > =head1 RELATIONS >@@ -177,8 +192,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-05 14:29:17 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QHMqvrtX0ohJe70PHUYZ0Q >+# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-10-23 00:02:27 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x+mCm8UV/jVMDEgDSED8Ig > > sub koha_objects_class { > 'Koha::CirculationRules'; >-- >2.17.1
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 26814
:
112376
|
112377
|
112378
|
112379
|
112380
|
112381
|
112382
|
112383
|
112384
|
112385
|
112608
|
112609
|
112610
|
112611
|
112623
|
112624
|
112625
|
112626
|
112627
|
112628
|
112630
|
112631
|
112632
|
112651
|
112652
|
112653
|
114417
|
114418
|
114419
|
114420
|
114421
|
114422
|
114423
|
114424
|
114425
|
114426
|
114427