]> git.koha-community.org Git - koha.git/commit
Bug 10363: Fix Updatedb entry on MariaDB
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Oct 2015 13:20:17 +0000 (14:20 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Oct 2015 13:23:42 +0000 (10:23 -0300)
commitc4427c194b72802e361c1626657922bd746bccdc
tree33d60cf2adbf432c052b5640241367eb39effae8
parent304dd2b0512eb82962e0425d8183b15785252913
Bug 10363: Fix Updatedb entry on MariaDB

With MariaDB, I get the following error:

ERROR 1832 (HY000): Cannot change column 'av_id': used in a foreign key
constraint 'authorised_values_branches_ibfk_1'

The solution would be to remove the constraints, modify the columns and
finally reintroduce the foreign keys.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/updatedatabase.pl