]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 May 2016 16:47:32 +0000 (16:47 +0000)
commit2358185379ed325eb388b717250e90978ffdea5a
tree9448994810139a175a451c1c8b5d31e86cf67d7a
parent5c151f35aac55c3b4c92fb11397d4ef3b8c9f9b8
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>
installer/data/mysql/kohastructure.sql