Bugzilla – Attachment 77055 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 changes
Bug-21082-DO-NOT-PUSH---Schema-changes.patch (text/plain), 3.18 KB, created by
Nick Clemens (kidclamp)
on 2018-07-17 14:56:59 UTC
(
hide
)
Description:
Bug 21082: DO NOT PUSH - Schema changes
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-07-17 14:56:59 UTC
Size:
3.18 KB
patch
obsolete
>From d71d94d48f8b1b23caa42cade39bb5927c330148 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 17 Jul 2018 14:15:52 +0000 >Subject: [PATCH] Bug 21082: DO NOT PUSH - Schema changes > >--- > 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 bb571b1..0aa207a 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -308,6 +308,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 >@@ -609,8 +624,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QOMUFz2EjvAVWCkIpNmvtg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-16 12:32:54 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l8vt6BJ+9mPgOSm60CL+hA > > > # 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 0000000..c344552 >--- /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-05-16 12:32:54 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wbyAXOyddrUAkAkhLyjLlA >+ >+ >+# You can replace this text with custom code or comments, and it will be preserved on regeneration >+1; >-- >2.1.4
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