Bug 21443: Mark new columns as boolean in schema file
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 Mar 2020 10:50:05 +0000 (06:50 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 11:09:12 +0000 (11:09 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/Itemtype.pm

index d9a740f..b180a90 100644 (file)
@@ -246,6 +246,11 @@ __PACKAGE__->has_many(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-09 17:13:18
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7ojvTzsDvdHPAJMwJrAZ7A
 
+__PACKAGE__->add_columns(
+    '+rentalcharge_hourly_calendar' => { is_boolean => 1 },
+    '+rentalcharge_daily_calendar'  => { is_boolean => 1 },
+);
+
 # Use the ItemtypeLocalization view to create the join on localization
 our $LANGUAGE;
 __PACKAGE__->has_many(