Bug 17268: Set boolean for shared column in schema
authorNick Clemens <nick@bywatersolutions.com>
Wed, 11 Mar 2020 13:39:25 +0000 (09:39 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 07:26:17 +0000 (08:26 +0100)
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Heather Hernandez <Heather_Hernandez@nps.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/AdvancedEditorMacro.pm

index 9b815ab..7c5448b 100644 (file)
@@ -105,6 +105,9 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-02 15:01:04
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wx556VlgXYqdP2XyQ87Jzg
 
+__PACKAGE__->add_columns(
+            '+shared' => { is_boolean => 1 },
+        );
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;