Bugzilla – Attachment 101068 Details for
Bug 22987
Add biblioimages.timestamp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22987: (RM follow-up) Schema Update
Bug-22987-RM-follow-up-Schema-Update.patch (text/plain), 1.63 KB, created by
Martin Renvoize (ashimema)
on 2020-03-20 10:40:30 UTC
(
hide
)
Description:
Bug 22987: (RM follow-up) Schema Update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-03-20 10:40:30 UTC
Size:
1.63 KB
patch
obsolete
>From e3d3ef705c963b7db79ebf0ca6c6966b2ee41c4a Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 20 Mar 2020 10:39:42 +0000 >Subject: [PATCH] Bug 22987: (RM follow-up) Schema Update > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Biblioimage.pm | 18 ++++++++++++++++-- > 1 file changed, 16 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Biblioimage.pm b/Koha/Schema/Result/Biblioimage.pm >index 400eef5047..090e6b20f6 100644 >--- a/Koha/Schema/Result/Biblioimage.pm >+++ b/Koha/Schema/Result/Biblioimage.pm >@@ -51,6 +51,13 @@ __PACKAGE__->table("biblioimages"); > data_type: 'mediumblob' > is_nullable: 0 > >+=head2 timestamp >+ >+ data_type: 'timestamp' >+ datetime_undef_if_invalid: 1 >+ default_value: current_timestamp >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -64,6 +71,13 @@ __PACKAGE__->add_columns( > { data_type => "mediumblob", is_nullable => 0 }, > "thumbnail", > { data_type => "mediumblob", is_nullable => 0 }, >+ "timestamp", >+ { >+ data_type => "timestamp", >+ datetime_undef_if_invalid => 1, >+ default_value => \"current_timestamp", >+ is_nullable => 0, >+ }, > ); > > =head1 PRIMARY KEY >@@ -96,8 +110,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdDuaUrR0IC6+8jJwlev6A >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-20 10:39:00 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6elSD3dDk6vWE4bUirmew > > > # You can replace this text with custom content, and it will be preserved on regeneration >-- >2.20.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 22987
:
97316
|
100576
|
100890
| 101068