From 4a934ce8e9227f605ccd5f02df3e11287e0367f5 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Wed, 21 Sep 2022 14:53:45 +0300 Subject: [PATCH 2/6] Bug 16223: DO NOT PUSH! Schema changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: Koha-Suomi Oy Signed-off-by: Anneli Österman Signed-off-by: Martin Renvoize --- Koha/Schema/Result/RestrictionType.pm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/RestrictionType.pm b/Koha/Schema/Result/RestrictionType.pm index 47d079fc47..ead3722315 100644 --- a/Koha/Schema/Result/RestrictionType.pm +++ b/Koha/Schema/Result/RestrictionType.pm @@ -46,6 +46,18 @@ __PACKAGE__->table("restriction_types"); default_value: 0 is_nullable: 0 +=head2 lift_after_payment + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +=head2 fee_limit + + data_type: 'decimal' + is_nullable: 1 + size: [28,6] + =cut __PACKAGE__->add_columns( @@ -57,6 +69,10 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "is_default", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "lift_after_payment", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "fee_limit", + { data_type => "decimal", is_nullable => 1, size => [28, 6] }, ); =head1 PRIMARY KEY @@ -89,8 +105,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-19 17:53:05 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CC8yZ6IqZPnySpMC5Mn/ig +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-21 14:39:01 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TelXb7sHcCGaTwkSnNN9TA __PACKAGE__->add_columns( '+is_system' => { is_boolean => 1 }, -- 2.34.1