From ecd8df138afffc95095ae9818a0e58928f547b9e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 27 Aug 2020 10:37:55 +0000 Subject: [PATCH] Bug 25776: [DO NOT PUSH] Schema update --- 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..83edf865db 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.07046 @ 2020-08-27 10:22:10 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XF69FM71/ZzFf7sFWLZoNw sub koha_object_class { 'Koha::Notice::Template'; -- 2.11.0