From 0e55d445e5a814e32efa0313f9147061aa71278a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 30 Sep 2020 17:33:33 +0200 Subject: [PATCH] Bug 25776: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Letter.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Letter.pm b/Koha/Schema/Result/Letter.pm index 92045a0f36..42fd22a793 100644 --- a/Koha/Schema/Result/Letter.pm +++ b/Koha/Schema/Result/Letter.pm @@ -84,6 +84,13 @@ __PACKAGE__->table("letter"); is_nullable: 0 size: 25 +=head2 updated_on + + data_type: 'timestamp' + datetime_undef_if_invalid: 1 + default_value: current_timestamp + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -116,6 +123,13 @@ __PACKAGE__->add_columns( is_nullable => 0, size => 25, }, + "updated_on", + { + data_type => "timestamp", + datetime_undef_if_invalid => 1, + default_value => \"current_timestamp", + is_nullable => 0, + }, ); =head1 PRIMARY KEY @@ -156,8 +170,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fOuu1Fj8Uo3114QKS2qLkQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-30 15:33:05 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gjuJZIDufXefljX+aP2TPg sub koha_object_class { 'Koha::Notice::Template'; -- 2.39.5