From bafd4ac29e0d111ecf315b3f0865a69d1f390efb 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 | 68 +++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index 5df7ec6034..aca0e8cebb 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -41,12 +41,36 @@ __PACKAGE__->table("course_items"); is_nullable: 1 size: 10 +=head2 itype_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +=head2 itype_storage + + data_type: 'varchar' + is_nullable: 1 + size: 10 + =head2 ccode data_type: 'varchar' is_nullable: 1 size: 80 +=head2 ccode_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +=head2 ccode_storage + + data_type: 'varchar' + is_nullable: 1 + size: 80 + =head2 holdingbranch data_type: 'varchar' @@ -54,12 +78,36 @@ __PACKAGE__->table("course_items"); is_nullable: 1 size: 10 +=head2 holdingbranch_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +=head2 holdingbranch_storage + + data_type: 'varchar' + is_nullable: 1 + size: 10 + =head2 location data_type: 'varchar' is_nullable: 1 size: 80 +=head2 location_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +=head2 location_storage + + data_type: 'varchar' + is_nullable: 1 + size: 80 + =head2 enabled data_type: 'enum' @@ -83,12 +131,28 @@ __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 }, + "itype_storage", + { data_type => "varchar", is_nullable => 1, size => 10 }, "ccode", { data_type => "varchar", is_nullable => 1, size => 80 }, + "ccode_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "ccode_storage", + { data_type => "varchar", is_nullable => 1, size => 80 }, "holdingbranch", { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, + "holdingbranch_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "holdingbranch_storage", + { data_type => "varchar", is_nullable => 1, size => 10 }, "location", { data_type => "varchar", is_nullable => 1, size => 80 }, + "location_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "location_storage", + { data_type => "varchar", is_nullable => 1, size => 80 }, "enabled", { data_type => "enum", @@ -184,8 +248,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-19 16:07:13 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8tTH0fAzewvaXRYs8+VZcg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.21.1 (Apple Git-122.3)