[Koha-bugs] [Bug 32334] Sync comments in database with schema

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 16 13:37:43 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32334

--- Comment #21 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to David Nind from comment #20)
> I've had a go at testing, but I am stuck on step 6.
> 
> Running 'misc/maintenance/sync_db_comments.pl -reset' gives me this output
> and error message:
> 
> -- DRY RUN
> Koha::Database::Commenter::_columns_info(): DBI Exception: DBD::mysql::db
> selectall_hashref failed: Table 'koha_kohadev.IF' doesn't exist at
> /kohadevbox/koha/Koha/Database/Commenter.pm line 221

Ahh.
This is a new recent construct in the kohastructure file:

CREATE TABLE IF NOT EXISTS `tickets` (

I will add a small regexp change to include IF NOT EXISTS..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list