From 95ce9492b9bc2aba5539eaf0efabdb3a4e56178d Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 14 May 2015 11:29:29 -0300 Subject: [PATCH] Bug 13421: (RM followup) DBIx updates Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Virtualshelve.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm index 1811b4cebe..5c5b4c343c 100644 --- a/Koha/Schema/Result/Virtualshelve.pm +++ b/Koha/Schema/Result/Virtualshelve.pm @@ -60,6 +60,13 @@ __PACKAGE__->table("virtualshelves"); default_value: current_timestamp is_nullable: 0 +=head2 created_on + + data_type: 'timestamp' + datetime_undef_if_invalid: 1 + default_value: '0000-00-00 00:00:00' + is_nullable: 0 + =head2 allow_add data_type: 'tinyint' @@ -98,6 +105,13 @@ __PACKAGE__->add_columns( default_value => \"current_timestamp", is_nullable => 0, }, + "created_on", + { + data_type => "timestamp", + datetime_undef_if_invalid => 1, + default_value => "0000-00-00 00:00:00", + is_nullable => 0, + }, "allow_add", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "allow_delete_own", @@ -171,8 +185,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xRDCzpS+CXPdp4Mlp2WP6A +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-05-14 11:27:16 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WVMPB7DvigdoNQ07kaT0lA # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5