From 221205dc10b88c91befaace15402932fe420762d Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 27 Jan 2023 12:57:38 +0000 Subject: [PATCH] Bug 32721: DBIC Schema This commit adds the DBIC Schema for the database change Signed-off-by: Lucas Gass Signed-off-by: Nick Clemens --- Koha/Schema/Result/Branch.pm | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index c86ca6736f..3304ac14f1 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -192,6 +192,20 @@ the ability to act as a pickup location whether this library should show in the opac +=head2 userjs + + data_type: 'longtext' + is_nullable: 1 + +branch specific javascript for the OPAC + +=head2 usercss + + data_type: 'longtext' + is_nullable: 1 + +branch specific css for the OPAC + =cut __PACKAGE__->add_columns( @@ -241,6 +255,10 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 1, is_nullable => 0 }, "public", { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "userjs", + { data_type => "longtext", is_nullable => 1 }, + "usercss", + { data_type => "longtext", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -918,8 +936,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-08 17:35:26 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QPqXuEigMeIBb9NKMSkrNw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-01-26 15:44:39 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:V2cUJxcsWRSu4nyO3S6C4Q __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 }, -- 2.30.2