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

--- Comment #9 from Katrin Fischer <[email protected]> ---
(In reply to Marcel de Rooy from comment #8)
> +        $dbh->do(q{ALTER TABLE `tmp_holdsqueue` ADD `timestamp` timestamp
> NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP AFTER
> item_level_request});
> 
> Hmm. No check if column exists? Not idempotent..
> 
> Resulting in:
> Upgrade to 22.06.00.075  [09:27:16]: Bug 31948 - Add timestamp to
> tmp_holdsqueue table
> ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate column
> name 'timestamp' at /usr/share/koha/C4/Installer.pm line 739

Hi Marcel, you are right, we should add the check. Sorry for missing it. I
probably won't be able to provide the patch today or tomorrow tho :(

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to