From f3be40c61bc6fac416538965a55b5cdc5d916e79 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Thu, 17 May 2018 09:24:31 +0100 Subject: [PATCH] Bug 20772: DO NOT PUSH - Schema update Schema update for illrequestattributes.readonly Schema update for illrequests.price_paid Signed-off-by: Barry Cannon Signed-off-by: Katrin Fischer --- Koha/Schema/Result/Illrequest.pm | 12 ++++++++++-- Koha/Schema/Result/Illrequestattribute.pm | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Illrequest.pm b/Koha/Schema/Result/Illrequest.pm index 1b207ff..be40e6e 100644 --- a/Koha/Schema/Result/Illrequest.pm +++ b/Koha/Schema/Result/Illrequest.pm @@ -119,6 +119,12 @@ __PACKAGE__->table("illrequests"); is_nullable: 1 size: 20 +=head2 price_paid + + data_type: 'varchar' + is_nullable: 1 + size: 20 + =cut __PACKAGE__->add_columns( @@ -164,6 +170,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 50 }, "backend", { data_type => "varchar", is_nullable => 1, size => 20 }, + "price_paid", + { data_type => "varchar", is_nullable => 1, size => 20 }, ); =head1 PRIMARY KEY @@ -231,8 +239,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rh8DSs3xj3KRmyd7WNGDAg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-17 10:53:41 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lro5b6igadOasjToe90DIg # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Illrequestattribute.pm b/Koha/Schema/Result/Illrequestattribute.pm index cb9cb18..b89de5b 100644 --- a/Koha/Schema/Result/Illrequestattribute.pm +++ b/Koha/Schema/Result/Illrequestattribute.pm @@ -41,6 +41,12 @@ __PACKAGE__->table("illrequestattributes"); data_type: 'mediumtext' is_nullable: 0 +=head2 readonly + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -55,6 +61,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 0, size => 200 }, "value", { data_type => "mediumtext", is_nullable => 0 }, + "readonly", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -89,8 +97,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X9SxZP1PGXTwDJ6lUkx8Fg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-17 09:17:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sFY1giVMz5AkXCPidhyGjw # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.1.4