From 6fcc9f6dd97fd04f2d9148f37cd462e1249460f4 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 13 Jan 2015 13:26:11 -0300 Subject: [PATCH] Bug 13379: (RM followup) DBIx updates Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/AuthorisedValue.pm | 23 ++++----------------- Koha/Schema/Result/BorrowerAttributeType.pm | 8 +++---- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/Koha/Schema/Result/AuthorisedValue.pm b/Koha/Schema/Result/AuthorisedValue.pm index 3cd8cce6fd..b19747b220 100644 --- a/Koha/Schema/Result/AuthorisedValue.pm +++ b/Koha/Schema/Result/AuthorisedValue.pm @@ -34,7 +34,7 @@ __PACKAGE__->table("authorised_values"); data_type: 'varchar' default_value: (empty string) is_nullable: 0 - size: 16 + size: 32 =head2 authorised_value @@ -67,7 +67,7 @@ __PACKAGE__->add_columns( "id", { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, "category", - { data_type => "varchar", default_value => "", is_nullable => 0, size => 16 }, + { data_type => "varchar", default_value => "", is_nullable => 0, size => 32 }, "authorised_value", { data_type => "varchar", default_value => "", is_nullable => 0, size => 80 }, "lib", @@ -107,24 +107,9 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -=head2 items_search_fields -Type: has_many - -Related object: L - -=cut - -__PACKAGE__->has_many( - "items_search_fields", - "Koha::Schema::Result::ItemsSearchField", - { "foreign.authorised_values_category" => "self.category" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-04 19:23:41 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aaIEvlA6wPG2o0Zx2JGk6A +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-01-13 13:14:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/LKBdxi1YA7ggV78u9BlVA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index f2f51202cf..f2ff81153c 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -69,7 +69,7 @@ __PACKAGE__->table("borrower_attribute_types"); data_type: 'varchar' is_nullable: 1 - size: 10 + size: 32 =head2 display_checkout @@ -108,7 +108,7 @@ __PACKAGE__->add_columns( "staff_searchable", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "authorised_value_category", - { data_type => "varchar", is_nullable => 1, size => 10 }, + { data_type => "varchar", is_nullable => 1, size => 32 }, "display_checkout", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "category_code", @@ -162,8 +162,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xFtIJw7nKVVk6dzBVDO60A +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-01-13 13:14:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9fLFZ/u89xmeCollneyUIg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5