Bugzilla – Attachment 183324 Details for
Bug 26573
Limit patron attribute types to more than one patron category
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26573: (QA follow-up) Correction to foreign key
Bug-26573-QA-follow-up-Correction-to-foreign-key.patch (text/plain), 2.45 KB, created by
Julian Maurice
on 2025-06-18 09:11:20 UTC
(
hide
)
Description:
Bug 26573: (QA follow-up) Correction to foreign key
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2025-06-18 09:11:20 UTC
Size:
2.45 KB
patch
obsolete
>From b8e142c42dff213099e0a87b27361a1d671b2a95 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 18 Feb 2025 12:48:38 +0000 >Subject: [PATCH] Bug 26573: (QA follow-up) Correction to foreign key > >--- > installer/data/mysql/atomicupdate/bug-26573.pl | 4 ++-- > installer/data/mysql/kohastructure.sql | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug-26573.pl b/installer/data/mysql/atomicupdate/bug-26573.pl >index b081280d55..264dd89039 100755 >--- a/installer/data/mysql/atomicupdate/bug-26573.pl >+++ b/installer/data/mysql/atomicupdate/bug-26573.pl >@@ -10,8 +10,8 @@ return { > $dbh->do( > q{ > CREATE TABLE IF NOT EXISTS `borrower_attribute_types_categories` ( >- `borrower_attribute_type_code` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, >- `categorycode` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, >+ `borrower_attribute_type_code` varchar(64) NOT NULL, >+ `categorycode` varchar(10) NOT NULL, > KEY `borrower_attribute_type_code` (`borrower_attribute_type_code`), > KEY `categorycode` (`categorycode`), > CONSTRAINT `borrower_attribute_types_categories_borrower_attribute_type_code` FOREIGN KEY (`borrower_attribute_type_code`) REFERENCES `borrower_attribute_types` (`code`) ON DELETE CASCADE ON UPDATE CASCADE, >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 8542fa4c05..c4ab07f18c 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -1290,8 +1290,8 @@ DROP TABLE IF EXISTS `borrower_attribute_types_categories`; > /*!40101 SET @saved_cs_client = @@character_set_client */; > /*!40101 SET character_set_client = utf8 */; > CREATE TABLE `borrower_attribute_types_categories` ( >- `borrower_attribute_type_code` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, >- `categorycode` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, >+ `borrower_attribute_type_code` varchar(64) NOT NULL, >+ `categorycode` varchar(10) NOT NULL, > KEY `borrower_attribute_type_code` (`borrower_attribute_type_code`), > KEY `categorycode` (`categorycode`), > CONSTRAINT `borrower_attribute_types_categories_borrower_attribute_type_code` FOREIGN KEY (`borrower_attribute_type_code`) REFERENCES `borrower_attribute_types` (`code`) ON DELETE CASCADE ON UPDATE CASCADE, >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26573
:
139823
|
143113
|
143114
|
143115
|
143116
|
144470
|
144471
|
159210
|
159211
|
171048
|
175628
|
175629
|
177565
|
177566
|
178171
|
178172
|
178252
|
178253
|
178254
|
178255
|
178270
|
178271
|
178272
|
178273
|
183322
|
183323
| 183324 |
183325