Bugzilla – Attachment 53148 Details for
Bug 6906
Show 'Borrower has previously issued $ITEM' alert on checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6906: Add updated schema files.
Bug-6906-Add-updated-schema-files.patch (text/plain), 4.45 KB, created by
Jonathan Druart
on 2016-07-06 16:16:23 UTC
(
hide
)
Description:
Bug 6906: Add updated schema files.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-07-06 16:16:23 UTC
Size:
4.45 KB
patch
obsolete
>From a6999402fba3b94f9afbdcc96d2acc5e14e419a7 Mon Sep 17 00:00:00 2001 >From: Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com> >Date: Tue, 5 Jul 2016 15:24:11 +0000 >Subject: [PATCH] Bug 6906: Add updated schema files. > >* Koha/Schema/Result/Borrower.pm: Updated schema file. >* Koha/Schema/Result/Category.pm: Updated schema file. >* Koha/Schema/Result/Deletedborrower.pm: Updated schema file. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/Schema/Result/Borrower.pm | 18 ++++++++++++++++-- > Koha/Schema/Result/Category.pm | 18 ++++++++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 18 ++++++++++++++++-- > 3 files changed, 48 insertions(+), 6 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index cfbce27..f1a50e9 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -407,6 +407,13 @@ __PACKAGE__->table("borrowers"); > default_value: 0 > is_nullable: 0 > >+=head2 checkprevcheckout >+ >+ data_type: 'varchar' >+ default_value: 'inherit' >+ is_nullable: 0 >+ size: 7 >+ > =head2 updated_on > > data_type: 'timestamp' >@@ -583,6 +590,13 @@ __PACKAGE__->add_columns( > { data_type => "integer", default_value => 1, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "checkprevcheckout", >+ { >+ data_type => "varchar", >+ default_value => "inherit", >+ is_nullable => 0, >+ size => 7, >+ }, > "updated_on", > { > data_type => "timestamp", >@@ -1218,8 +1232,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:35:12 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Luq1YVrOwtdDvSDWgWNGUg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-04 17:36:29 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0RuwTMzB5epoBGGCOcTHwg > > __PACKAGE__->belongs_to( > "guarantor", >diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm >index 4926587..0655263 100644 >--- a/Koha/Schema/Result/Category.pm >+++ b/Koha/Schema/Result/Category.pm >@@ -116,6 +116,13 @@ __PACKAGE__->table("categories"); > extra: {list => ["default","never","forever"]} > is_nullable: 0 > >+=head2 checkprevcheckout >+ >+ data_type: 'varchar' >+ default_value: 'inherit' >+ is_nullable: 0 >+ size: 7 >+ > =cut > > __PACKAGE__->add_columns( >@@ -161,6 +168,13 @@ __PACKAGE__->add_columns( > extra => { list => ["default", "never", "forever"] }, > is_nullable => 0, > }, >+ "checkprevcheckout", >+ { >+ data_type => "varchar", >+ default_value => "inherit", >+ is_nullable => 0, >+ size => 7, >+ }, > ); > > =head1 PRIMARY KEY >@@ -253,8 +267,8 @@ __PACKAGE__->might_have( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T4i7vp1kAZFXy6DiV1dqyw >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-04 17:36:29 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+aqNsJpVxnE5y3GwsnPAUA > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 2558bab..f50cac2 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -404,6 +404,13 @@ __PACKAGE__->table("deletedborrowers"); > default_value: 0 > is_nullable: 0 > >+=head2 checkprevcheckout >+ >+ data_type: 'varchar' >+ default_value: 'inherit' >+ is_nullable: 0 >+ size: 7 >+ > =head2 updated_on > > data_type: 'timestamp' >@@ -568,6 +575,13 @@ __PACKAGE__->add_columns( > { data_type => "integer", default_value => 1, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "checkprevcheckout", >+ { >+ data_type => "varchar", >+ default_value => "inherit", >+ is_nullable => 0, >+ size => 7, >+ }, > "updated_on", > { > data_type => "timestamp", >@@ -578,8 +592,8 @@ __PACKAGE__->add_columns( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:35:12 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wmWyqDcbofgVoIbvRy7j6w >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-07-04 17:36:29 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NTzyvJODsmzRa91vTeCVcQ > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.8.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 6906
:
5531
|
5532
|
5533
|
27558
|
27606
|
30680
|
30681
|
50071
|
50127
|
50128
|
50243
|
50286
|
50323
|
51378
|
51393
|
52278
|
52279
|
52280
|
53104
|
53105
|
53136
|
53144
|
53145
|
53146
|
53147
| 53148