From e1b1f2a3d7922e69d9097bffa7f997266d875e15 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 14 Feb 2020 08:45:11 -0500 Subject: [PATCH] Bug 23727: Update Schema --- Koha/Schema/Result/CourseItem.pm | 36 ++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index 5df7ec6034..37ad52b21d 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -41,12 +41,24 @@ __PACKAGE__->table("course_items"); is_nullable: 1 size: 10 +=head2 itype_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 ccode data_type: 'varchar' is_nullable: 1 size: 80 +=head2 ccode_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 holdingbranch data_type: 'varchar' @@ -54,12 +66,24 @@ __PACKAGE__->table("course_items"); is_nullable: 1 size: 10 +=head2 holdingbranch_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 location data_type: 'varchar' is_nullable: 1 size: 80 +=head2 location_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 enabled data_type: 'enum' @@ -83,12 +107,20 @@ __PACKAGE__->add_columns( { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "itype", { data_type => "varchar", is_nullable => 1, size => 10 }, + "itype_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "ccode", { data_type => "varchar", is_nullable => 1, size => 80 }, + "ccode_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "holdingbranch", { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, + "holdingbranch_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "location", { data_type => "varchar", is_nullable => 1, size => 80 }, + "location_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "enabled", { data_type => "enum", @@ -184,8 +216,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0hBp2R7AMxgHLLZcG/676w +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-14 13:42:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XNWwN6NOAQR3eh93UlQCxw # You can replace this text with custom content, and it will be preserved on regeneration -- 2.21.1 (Apple Git-122.3)