Bug 24476: Add boolean for TINYINT
authorNick Clemens <nick@bywatersolutions.com>
Fri, 28 Feb 2020 19:16:52 +0000 (19:16 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 11:24:22 +0000 (11:24 +0000)
Signed-off-by: Andrew Fuerste-Henry <andrew@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/Borrower.pm
Koha/Schema/Result/Deletedborrower.pm

index 04ad9e1..0d2829d 100644 (file)
@@ -1665,7 +1665,8 @@ __PACKAGE__->add_columns(
     '+anonymized'    => { is_boolean => 1 },
     '+lost'          => { is_boolean => 1 },
     '+gonenoaddress' => { is_boolean => 1 },
-    '+privacy_guarantor_fines' => { is_boolean => 1 }
+    '+privacy_guarantor_fines' => { is_boolean => 1 },
+    '+autorenew_checkouts' => { is_boolean => 1 }
 );
 
 sub koha_objects_class {
index 7c076cf..0b22a83 100644 (file)
@@ -661,6 +661,14 @@ __PACKAGE__->add_columns(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 11:45:25
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fVl4c/8pymGaZBDR3EOrNg
 
+__PACKAGE__->add_columns(
+    '+anonymized'    => { is_boolean => 1 },
+    '+lost'          => { is_boolean => 1 },
+    '+gonenoaddress' => { is_boolean => 1 },
+    '+privacy_guarantor_fines' => { is_boolean => 1 },
+    '+autorenew_checkouts' => { is_boolean => 1 }
+);
+
 sub koha_objects_class {
     'Koha::Old::Patrons';
 }