Bug 17234: Add constraint_exists and column_exists to updatedatabase.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Sep 2016 15:55:40 +0000 (16:55 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 15 Jan 2017 15:58:37 +0000 (16:58 +0100)
commit70fe225bea608b61b40f237a13195eb028da4231
treecaf79d6cda1be8618c9c340c9da0aa439ec28056
parenta6bb833af0b68f9c76054d3d91459d487852bdb3
Bug 17234: Add constraint_exists and column_exists to updatedatabase.pl

These 2 subroutines will help us deal with the absense of ALTER IGNORE
TABLE

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c08922180e83b0222dc3d54a292aaf49cc15000a)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
installer/data/mysql/updatedatabase.pl