@@ -, +, @@ --- Koha/Schema/Result/Deleteditem.pm | 16 ++++++++++++++-- Koha/Schema/Result/Item.pm | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) --- a/Koha/Schema/Result/Deleteditem.pm +++ a/Koha/Schema/Result/Deleteditem.pm @@ -111,6 +111,12 @@ __PACKAGE__->table("deleteditems"); default_value: 0 is_nullable: 0 +=head2 damaged_on + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + =head2 itemlost data_type: 'tinyint' @@ -309,6 +315,12 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "damaged", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "damaged_on", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, "itemlost", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "itemlost_on", @@ -395,8 +407,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-31 17:10:17 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:npNexLgE7AxLp6iVy1FxgQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-07-19 12:58:36 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Akw4lzQAume5Y/V0XapOkw # You can replace this text with custom content, and it will be preserved on regeneration --- a/Koha/Schema/Result/Item.pm +++ a/Koha/Schema/Result/Item.pm @@ -114,6 +114,12 @@ __PACKAGE__->table("items"); default_value: 0 is_nullable: 0 +=head2 damaged_on + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + =head2 itemlost data_type: 'tinyint' @@ -323,6 +329,12 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "damaged", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "damaged_on", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, "itemlost", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "itemlost_on", @@ -675,8 +687,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-24 13:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vf1sBZrpUo0Cvi896fjNuA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-07-19 12:58:36 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EI5X5etdx7PPQqA85x4/eQ __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); --