Koha-clms/misc/maintenance
Pedro Amorim 09bb85409d
Bug 36039: Move audit_database script logic to a dedicated module
Test plan #1 ensure same script functionality (same as bug 34064):
0. Apply patch
1. vi ./installer/data/mysql/kohastructure.sql
2. Comment out some columns, change NULL status, or whatever you like
3. perl misc/maintenance/audit_database.pl \
    --filename /kohadevbox/koha/installer/data/mysql/kohastructure.sql
4. Note that the output includes SQL commands to change the database
to match the new kohastructure.sql

5a. Try using koha-foreach and note that the database name appears above
the database comparison
5b. koha-foreach "perl misc/maintenance/audit_database.pl \
    --filename /kohadevbox/koha/installer/data/mysql/kohastructure.sql"

Test plan #2:
1. After doing test plan #1, access the new 'database audit' tab, visit:
<staff_url>/cgi-bin/koha/about.pl?tab=database
2. Ensure the output is the same as test plan #1

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: JesseM <jesse@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-12-27 15:19:03 +01:00
..
UNIMARC_fix_collectiontitle.pl
…
UNIMARC_sync_date_created_with_marc_biblio.pl Bug 37791: (follow-up) Last occurence 2024-10-11 12:21:30 +02:00
acq_cancel_obsolete_orders.pl Bug 36068: (QA follow-up) Add OPTIONS section in POD 2024-04-19 18:06:31 +02:00
audit_database.pl Bug 36039: Move audit_database script logic to a dedicated module 2024-12-27 15:19:03 +01:00
auth_show_hidden_data.pl
…
borrowers-force-messaging-defaults.pl Bug 33239: (QA follow-up) Tidy and improve description 2023-10-11 10:31:46 -03:00
check_syspref_cache.pl
…
check_sysprefs.sh
…
cmp_sysprefs.pl
…
compare_es_to_db.pl Bug 38386: Make compare_es_to_db.pl not retrieve the records from ES 2024-12-23 12:20:39 +01:00
dedup_authorities.pl Bug 13706: Minor tidy/spelling issues 2024-04-26 14:14:54 +02:00
fix_accountlines_date.pl
…
fix_accountlines_rmdupfines_bug8253.pl
…
fix_invalid_dates.pl Bug 31143: (follow-up) Add description to fix_invalid_dates.pl 2024-11-14 16:47:04 +01:00
fix_mysql_constraints.pl
…
fix_tags_weight.pl
…
generate_MARC21Languages.pl
…
make_zebra_dom_cfg_from_record_abs
…
process_record_through_filter.pl Bug 37791: (follow-up) Last occurence 2024-10-11 12:21:30 +02:00
pseudonymize_statistics.pl Bug 37181: Add --confirm option to pseudonymize_statistics.pl 2024-06-27 14:04:54 +02:00
remove_items_from_biblioitems.pl
…
sanitize_records.pl
…
search_for_data_inconsistencies.pl Bug 31143: (QA follow-up) Tidy 2024-10-23 20:02:21 +02:00
sync_db_comments.pl Bug 32334: Fix spelling 2023-04-12 11:22:04 -03:00
touch_all_biblios.pl Bug 37037: (RM follow-up) Add hint at end of script run 2024-06-13 13:40:06 +01:00
touch_all_items.pl
…
update_authorities.pl
…
update_localuse_from_statistics.pl Bug 37790: Add skip indexing and holds queue options and verbosity to update localuse script 2024-11-18 17:04:32 +01:00