Koha/misc/maintenance
Marcel de Rooy be83a52298
Bug 32334: Add sync_db_comments script
Test plan:
[1] Backup your database, if not done already.
[2] Check output of dry_run when clearing a table:
    misc/maintenance/sync_db_comments.pl -clear -table items -dry
[3] Save output of misc/devel/update_dbix_class_files before changing
    comments in order to compare later. (Commit your changes.)
    You may not have changes after running (at least on a fresh
    database). That's fine.
[4] Clear all comments:
    misc/maintenance/sync_db_comments.pl -clear
[5] Renumber all comments:
    misc/maintenance/sync_db_comments.pl -renum
[6] Reset all comments to schema. Make sure that script finds your
    structure in installer/data/mysql folder.
    misc/maintenance/sync_db_comments.pl -reset
[7] Run update_dbix_class_files again and inspect changes as compared
    to previous run.
    Can you explain them? You should only see changes related to
    column comments. If you did not have changes in step 3, you
    should not have them here too.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-12 11:21:57 -03:00
..
auth_show_hidden_data.pl
borrowers-force-messaging-defaults.pl
check_syspref_cache.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
check_sysprefs.sh
cmp_sysprefs.pl
compare_es_to_db.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
fix_accountlines_date.pl
fix_accountlines_rmdupfines_bug8253.pl
fix_mysql_constraints.pl
fix_tags_weight.pl
generate_MARC21Languages.pl Bug 33341: Address some perlcritic errors in 5.36 2023-03-28 14:50:33 +02:00
make_zebra_dom_cfg_from_record_abs
process_record_through_filter.pl
remove_items_from_biblioitems.pl
sanitize_records.pl
search_for_data_inconsistencies.pl Bug 32678: Add new line in authorized values tests in search_for_data_inconsistencies.pl 2023-03-06 09:51:50 -03:00
sync_db_comments.pl Bug 32334: Add sync_db_comments script 2023-04-12 11:21:57 -03:00
touch_all_biblios.pl
touch_all_items.pl
UNIMARC_fix_collectiontitle.pl
UNIMARC_sync_date_created_with_marc_biblio.pl
update_authorities.pl