]> git.koha-community.org Git - koha.git/commit
Bug 13669: (followup) Fix kohastructure.sql so FK dependencies are sorted
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 May 2016 20:34:06 +0000 (17:34 -0300)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 25 May 2016 07:51:07 +0000 (09:51 +0200)
commit24373a1745cb8ba7e6cf0aec24bdd4f958944b54
tree73ec65c1f8d25da56bfec79ff8e918905fcf8d78
parent7c7109c4569de1f2afb2cec4013c40b242d8c730
Bug 13669: (followup) Fix kohastructure.sql so FK dependencies are sorted

The current table creation order is left to mysql's strategy, which is not
suitable for parsing the SQL files and passing one statement at a time in
the current order.

This patch just moves table creation statements around so FK constraints are
defined for previously created tables.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 2358185379ed325eb388b717250e90978ffdea5a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
installer/data/mysql/kohastructure.sql