Bugzilla – Attachment 51411 Details for
Bug 16276
When automatically deleting expired borrowers, make sure they didn't log in recently
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16276: [DO_NOT_PUSH ] schema changes
Bug-16276-DONOTPUSH--schema-changes.patch (text/plain), 2.89 KB, created by
Nicolas Legrand
on 2016-05-11 10:27:43 UTC
(
hide
)
Description:
Bug 16276: [DO_NOT_PUSH ] schema changes
Filename:
MIME Type:
Creator:
Nicolas Legrand
Created:
2016-05-11 10:27:43 UTC
Size:
2.89 KB
patch
obsolete
>From babc9adadc79d38b0f56d49a6f742f007e644145 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sun, 24 Apr 2016 17:33:07 +0100 >Subject: [PATCH] Bug 16276: [DO_NOT_PUSH ] schema changes > >Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr> > >https://bugs.koha-community.org/show_bug.cgi?id=12276 >--- > Koha/Schema/Result/Borrower.pm | 16 ++++++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 16 ++++++++++++++-- > 2 files changed, 28 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 39880aa..b338392 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -407,6 +407,12 @@ __PACKAGE__->table("borrowers"); > default_value: 0 > is_nullable: 0 > >+=head2 lastseen >+ >+ data_type: 'datetime' >+ datetime_undef_if_invalid: 1 >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -576,6 +582,12 @@ __PACKAGE__->add_columns( > { data_type => "integer", default_value => 1, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "lastseen", >+ { >+ data_type => "datetime", >+ datetime_undef_if_invalid => 1, >+ is_nullable => 1, >+ }, > ); > > =head1 PRIMARY KEY >@@ -1204,8 +1216,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-02-14 12:46:14 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bI6qJYw+ulTUwA7XMCkkRw >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-24 17:32:24 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lqnr1bMJDpGyjIj7brABHQ > > __PACKAGE__->belongs_to( > "guarantor", >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 0207fba..345de31 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -404,6 +404,12 @@ __PACKAGE__->table("deletedborrowers"); > default_value: 0 > is_nullable: 0 > >+=head2 lastseen >+ >+ data_type: 'datetime' >+ datetime_undef_if_invalid: 1 >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -561,11 +567,17 @@ __PACKAGE__->add_columns( > { data_type => "integer", default_value => 1, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "lastseen", >+ { >+ data_type => "datetime", >+ datetime_undef_if_invalid => 1, >+ is_nullable => 1, >+ }, > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UqTaMlpDnOWlhfQyF5EjHA >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-24 17:32:24 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CjM77u63lNdzWEb29TGTgA > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >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 16276
:
50615
|
50616
|
50617
|
50618
|
50619
|
50620
|
51191
|
51407
|
51408
|
51409
|
51410
|
51411
|
51412
|
54588
|
54589
|
54590
|
54591
|
54592
|
54612
|
54613
|
54614
|
54615
|
54616
|
54617
|
54618
|
54619
|
54620
|
54621
|
54622
|
54623
|
54624
|
54625
|
55495
|
55496
|
55497
|
55498
|
55499
|
55500
|
55501