From 45a798f013ef1198f41bfcebdbcbafb5f3ba3e6e Mon Sep 17 00:00:00 2001 From: Joy Nelson Date: Tue, 19 May 2020 23:47:11 +0000 Subject: [PATCH] Revert "Bug 23727: Update Schema" This reverts commit d8b49065d1b86cb49e9c894db5640d4eb33db4c6. --- Koha/Schema/Result/CourseItem.pm | 68 +------------------------------- 1 file changed, 2 insertions(+), 66 deletions(-) diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index 11acc20deb..9e1e5ef826 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -41,36 +41,12 @@ __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' @@ -78,36 +54,12 @@ __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' @@ -131,28 +83,12 @@ __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", @@ -248,8 +184,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-19 16:07:13 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8tTH0fAzewvaXRYs8+VZcg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0hBp2R7AMxgHLLZcG/676w sub koha_objects_class { -- 2.39.5