@@ -, +, @@ --- Koha/Schema/Result/Issue.pm | 30 ++++++++++++++++++++++++++++-- Koha/Schema/Result/OldIssue.pm | 30 ++++++++++++++++++++++++++++-- 2 files changed, 56 insertions(+), 4 deletions(-) --- a/Koha/Schema/Result/Issue.pm +++ a/Koha/Schema/Result/Issue.pm @@ -95,6 +95,22 @@ __PACKAGE__->table("issues"); default_value: 0 is_nullable: 0 +=head2 note + + data_type: 'mediumtext' + is_nullable: 1 + +=head2 notedate + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +=head2 noteseen + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -143,6 +159,16 @@ __PACKAGE__->add_columns( }, "onsite_checkout", { data_type => "integer", default_value => 0, is_nullable => 0 }, + "note", + { data_type => "mediumtext", is_nullable => 1 }, + "notedate", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, + "noteseen", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -214,8 +240,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-07 14:25:37 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8jFZATc7tlK4Qb5YW8yrrw +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-20 13:44:33 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qs+tM2Y0trdB3Affbcg5sg __PACKAGE__->belongs_to( "borrower", --- a/Koha/Schema/Result/OldIssue.pm +++ a/Koha/Schema/Result/OldIssue.pm @@ -94,6 +94,22 @@ __PACKAGE__->table("old_issues"); default_value: 0 is_nullable: 0 +=head2 note + + data_type: 'mediumtext' + is_nullable: 1 + +=head2 notedate + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +=head2 noteseen + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -142,6 +158,16 @@ __PACKAGE__->add_columns( }, "onsite_checkout", { data_type => "integer", default_value => 0, is_nullable => 0 }, + "note", + { data_type => "mediumtext", is_nullable => 1 }, + "notedate", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, + "noteseen", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -199,8 +225,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-07 14:25:37 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Nqm7crVG/Y5G3kuLAAKdSQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-20 13:44:33 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3ZaqChwtBW1oU0gMY40XJw sub koha_objects_class { 'Koha::Old::Checkouts'; --