Koha-clms/installer/data/mysql
Marcel de Rooy 7192efd271 Bug 30899: [22.05.x] Follow-up for dbrev 211200041 from bug 30449
Replace DROP CONSTRAINT by DROP FOREIGN KEY in old dbrev, and
submit a new dbrev to fix cases where dbrev went wrong.

Test plan:

NOTE: When you check show create table, verify that you see an index for category_code and a foreign key called borrower_attribute_types_ibfk_1.

[1] run updatedatabase; check show create table
[2] alter table borrower_attribute_types drop foreign key borrower_attribute_types_ibfk_1; alter table borrower_attribute_types drop index category_code; RUN updatedatabase again; check show create table
[3] alter table borrower_attribute_types drop foreign key borrower_attribute_types_ibfk_1; ALTER TABLE borrower_attribute_types ADD CONSTRAINT category_code_fk FOREIGN KEY (category_code) REFERENCES categories(categorycode); RUN updatedatabase again; check show create table
2022-06-24 15:59:43 +00:00
..
atomicupdate Bug 30899: [22.05.x] Follow-up for dbrev 211200041 from bug 30449 2022-06-24 15:59:43 +00:00
db_revs Bug 30899: [22.05.x] Follow-up for dbrev 211200041 from bug 30449 2022-06-24 15:59:43 +00:00
en Bug 30611: Add STAFF_PASSWORD_RESET notice 2022-05-10 15:17:17 -10:00
localization Bug 27619: Add custom for fr-FR 2022-05-11 09:59:58 +01:00
mandatory Bug 23659: (follow-up) Correct syspref.sql to match atomicupdate 2022-06-16 14:30:31 +00:00
backfill_statistics.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
kohastructure.sql 22.05.00: Update kohastructure.sql 2022-05-25 23:56:12 -10:00
labels_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
patroncards_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
update22to30.pl Bug 29180: (QA follow-up) Don't alter old DB up date 2021-11-05 12:13:25 +01:00
updatedatabase.pl Bug 28263: Fix too_many auto renewal message 2021-11-02 16:50:01 +01:00