Bugzilla – Attachment 79957 Details for
Bug 21082
OverDrive authentication method no longer supported
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21082: DO NOT PUSH - Schema updates
Bug-21082-DO-NOT-PUSH---Schema-updates.patch (text/plain), 3.37 KB, created by
ByWater Sandboxes
on 2018-10-04 17:32:52 UTC
(
hide
)
Description:
Bug 21082: DO NOT PUSH - Schema updates
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2018-10-04 17:32:52 UTC
Size:
3.37 KB
patch
obsolete
>From b186f0616f16f892929921a0abfd4f31575b803e Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 2 Oct 2018 00:28:53 +0000 >Subject: [PATCH] Bug 21082: DO NOT PUSH - Schema updates > >https://bugs.koha-community.org/show_bug.cgi?id=2108 > >Signed-off-by: Sandy Allgood <sandy.allgood@citruslibraries.org> > >Signed-off-by: Sandy Allgood <sandy.allgood@citruslibraries.org> >--- > Koha/Schema/Result/Branch.pm | 19 +++++++- > Koha/Schema/Result/BranchesOverdrive.pm | 83 +++++++++++++++++++++++++++++++++ > 2 files changed, 100 insertions(+), 2 deletions(-) > create mode 100644 Koha/Schema/Result/BranchesOverdrive.pm > >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index b85094bdbf..fd193a9d5c 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -316,6 +316,21 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 branches_overdrive >+ >+Type: might_have >+ >+Related object: L<Koha::Schema::Result::BranchesOverdrive> >+ >+=cut >+ >+__PACKAGE__->might_have( >+ "branches_overdrive", >+ "Koha::Schema::Result::BranchesOverdrive", >+ { "foreign.branchcode" => "self.branchcode" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ > =head2 branchtransfers_frombranches > > Type: has_many >@@ -617,8 +632,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-06 16:28:49 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N0tdcSAb4bMht/i0chipYQ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-02 00:27:54 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YPE+MSmyDELhFFKq+SpA5w > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/BranchesOverdrive.pm b/Koha/Schema/Result/BranchesOverdrive.pm >new file mode 100644 >index 0000000000..5b927b9062 >--- /dev/null >+++ b/Koha/Schema/Result/BranchesOverdrive.pm >@@ -0,0 +1,83 @@ >+use utf8; >+package Koha::Schema::Result::BranchesOverdrive; >+ >+# Created by DBIx::Class::Schema::Loader >+# DO NOT MODIFY THE FIRST PART OF THIS FILE >+ >+=head1 NAME >+ >+Koha::Schema::Result::BranchesOverdrive >+ >+=cut >+ >+use strict; >+use warnings; >+ >+use base 'DBIx::Class::Core'; >+ >+=head1 TABLE: C<branches_overdrive> >+ >+=cut >+ >+__PACKAGE__->table("branches_overdrive"); >+ >+=head1 ACCESSORS >+ >+=head2 branchcode >+ >+ data_type: 'varchar' >+ is_foreign_key: 1 >+ is_nullable: 0 >+ size: 10 >+ >+=head2 authname >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ >+=cut >+ >+__PACKAGE__->add_columns( >+ "branchcode", >+ { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, >+ "authname", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, >+); >+ >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</branchcode> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("branchcode"); >+ >+=head1 RELATIONS >+ >+=head2 branchcode >+ >+Type: belongs_to >+ >+Related object: L<Koha::Schema::Result::Branch> >+ >+=cut >+ >+__PACKAGE__->belongs_to( >+ "branchcode", >+ "Koha::Schema::Result::Branch", >+ { branchcode => "branchcode" }, >+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, >+); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-02 00:27:54 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qD6areyrFCh4KdAbUPDBEw >+ >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+1; >-- >2.11.0
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 21082
:
77053
|
77054
|
77055
|
77056
|
79792
|
79793
|
79794
|
79795
|
79894
|
79954
|
79955
|
79956
| 79957 |
79985
|
79986
|
79987