From dbc7a74427391d064d63bc425789c9e00e393263 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 10 May 2024 14:01:40 +0000 Subject: [PATCH] Bug 36755: DBIC schema update Signed-off-by: Katrin Fischer --- Koha/Schema/Result/BorrowerAttribute.pm | 8 ++++---- Koha/Schema/Result/BorrowerAttributeType.pm | 8 ++++---- Koha/Schema/Result/BorrowerAttributeTypesBranch.pm | 8 ++++---- Koha/Schema/Result/PseudonymizedBorrowerAttribute.pm | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Koha/Schema/Result/BorrowerAttribute.pm b/Koha/Schema/Result/BorrowerAttribute.pm index 2dfa6907e8..df7acd8f38 100644 --- a/Koha/Schema/Result/BorrowerAttribute.pm +++ b/Koha/Schema/Result/BorrowerAttribute.pm @@ -44,7 +44,7 @@ foreign key from the borrowers table, defines which patron/borrower has this att data_type: 'varchar' is_foreign_key: 1 is_nullable: 0 - size: 10 + size: 64 foreign key from the borrower_attribute_types table, defines which custom field this value was entered for @@ -64,7 +64,7 @@ __PACKAGE__->add_columns( "borrowernumber", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "code", - { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, + { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 64 }, "attribute", { data_type => "varchar", is_nullable => 1, size => 255 }, ); @@ -114,8 +114,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P6K6sqVzIiwOgAAkAjQyiA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TBNaH57NxoyhytT5cXD/WQ =head2 borrower_attribute_types diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index 2c2a8d2ffa..d5d4b9e31d 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -27,7 +27,7 @@ __PACKAGE__->table("borrower_attribute_types"); data_type: 'varchar' is_nullable: 0 - size: 10 + size: 64 unique key used to identify each custom field @@ -149,7 +149,7 @@ defines if the attribute is mandatory or not __PACKAGE__->add_columns( "code", - { data_type => "varchar", is_nullable => 0, size => 10 }, + { data_type => "varchar", is_nullable => 0, size => 64 }, "description", { data_type => "varchar", is_nullable => 0, size => 255 }, "repeatable", @@ -260,8 +260,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-04-30 13:44:48 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axOBPX4uH+bMVocJK04VXw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZmiiXHqRGV2SDb4IgSPvJQ __PACKAGE__->add_columns( '+keep_for_pseudonymization' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/BorrowerAttributeTypesBranch.pm b/Koha/Schema/Result/BorrowerAttributeTypesBranch.pm index 2345170090..52a18df9b8 100644 --- a/Koha/Schema/Result/BorrowerAttributeTypesBranch.pm +++ b/Koha/Schema/Result/BorrowerAttributeTypesBranch.pm @@ -28,7 +28,7 @@ __PACKAGE__->table("borrower_attribute_types_branches"); data_type: 'varchar' is_foreign_key: 1 is_nullable: 1 - size: 10 + size: 64 =head2 b_branchcode @@ -41,7 +41,7 @@ __PACKAGE__->table("borrower_attribute_types_branches"); __PACKAGE__->add_columns( "bat_code", - { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, + { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 64 }, "b_branchcode", { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, ); @@ -89,8 +89,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA/VDd/K/RTgZ9TLy0K1gw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6bldQj5GKHn+g6WNI/p8FA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/PseudonymizedBorrowerAttribute.pm b/Koha/Schema/Result/PseudonymizedBorrowerAttribute.pm index 0f93710a8d..aad49c0dbe 100644 --- a/Koha/Schema/Result/PseudonymizedBorrowerAttribute.pm +++ b/Koha/Schema/Result/PseudonymizedBorrowerAttribute.pm @@ -42,7 +42,7 @@ Row id field data_type: 'varchar' is_foreign_key: 1 is_nullable: 0 - size: 10 + size: 64 foreign key from the borrower_attribute_types table, defines which custom field this value was entered for @@ -62,7 +62,7 @@ __PACKAGE__->add_columns( "transaction_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "code", - { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, + { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 64 }, "attribute", { data_type => "varchar", is_nullable => 1, size => 255 }, ); @@ -112,8 +112,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MFvIdRnRrju9z7J9uurEhQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:09zbX6WErMxrZSBrc/nvdA # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5