Bugzilla – Attachment 52294 Details for
Bug 10459
borrowers should have a timestamp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10459: (followup) DBIx updates
Bug-10459-followup-DBIx-updates.patch (text/plain), 2.98 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-06-12 14:24:41 UTC
(
hide
)
Description:
Bug 10459: (followup) DBIx updates
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-06-12 14:24:41 UTC
Size:
2.98 KB
patch
obsolete
>From f0a7e391397739449fff1cc706d1f2a55fd359c5 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Sun, 12 Jun 2016 11:24:22 -0300 >Subject: [PATCH] Bug 10459: (followup) DBIx updates > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Schema/Result/Borrower.pm | 18 ++++++++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 18 ++++++++++++++++-- > 2 files changed, 32 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 39880aa..327ea5c 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 updated_on >+ >+ data_type: 'timestamp' >+ datetime_undef_if_invalid: 1 >+ default_value: current_timestamp >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -576,6 +583,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 }, >+ "updated_on", >+ { >+ data_type => "timestamp", >+ datetime_undef_if_invalid => 1, >+ default_value => \"current_timestamp", >+ is_nullable => 0, >+ }, > ); > > =head1 PRIMARY KEY >@@ -1204,8 +1218,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-06-12 13:52:46 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5I5l8qodN5yJEu8KMombPw > > __PACKAGE__->belongs_to( > "guarantor", >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 0207fba..aaef0f0 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 updated_on >+ >+ data_type: 'timestamp' >+ datetime_undef_if_invalid: 1 >+ default_value: current_timestamp >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -561,11 +568,18 @@ __PACKAGE__->add_columns( > { data_type => "integer", default_value => 1, is_nullable => 0 }, > "privacy_guarantor_checkouts", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "updated_on", >+ { >+ data_type => "timestamp", >+ datetime_undef_if_invalid => 1, >+ default_value => \"current_timestamp", >+ is_nullable => 0, >+ }, > ); > > >-# 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-06-12 13:52:46 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2SNIayiagK/UqbJzBIk0MA > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.8.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 10459
:
33421
|
33424
|
33435
|
33490
|
33491
|
33509
|
50475
|
50476
|
50478
|
50479
|
50480
|
50481
|
51807
|
51808
|
51809
|
51810
|
51842
|
51843
|
51844
|
51867
|
51868
|
52113
|
52114
|
52115
| 52294