Bug 23321: (QA follow-up) Booleans
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Sep 2019 18:26:08 +0000 (15:26 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Sep 2019 10:39:23 +0000 (11:39 +0100)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Schema/Result/CashRegister.pm

index ddd6d3e..88230e6 100644 (file)
@@ -148,6 +148,10 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-23 13:14:31
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TfGf0U/vWS7IviRlvDdE1w
 
+__PACKAGE__->add_columns(
+    '+archived'       => { is_boolean => 1 },
+    '+branch_default' => { is_boolean => 1 },
+);
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;