[Koha-bugs] [Bug 30483] Do not allow NULL in issues.borrowernumber and issues.itemnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 20 17:37:05 CET 2023


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

Pablo López Liotti <paliotti at mdp.edu.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paliotti at mdp.edu.ar

--- Comment #15 from Pablo López Liotti <paliotti at mdp.edu.ar> ---
Hi, I'm upgrading a Koha 21.05 in Debian 9.5 to Koha 22.05.

After I do command line upgrade of koha-common, the intranet shows web install.
Here, in tables structure update, the process stop with this message:

Updating database structure
Update errors :

Upgrade to 22.05.06.001 [13:31:19]: Bug 30483 - Make issues.borrowernumber and
itemnumber NOT NULL
ERROR: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Cannot change column
'borrowernumber': used in a foreign key constraint 'issues_ibfk_1' at
/usr/share/koha/lib/C4/Installer.pm line 739

Now, what can I do?
Thks

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


More information about the Koha-bugs mailing list