Bug 37000: (follow-up) Add foreign key last 24.05.x
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Fri, 7 Jun 2024 20:24:26 +0000 (16:24 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 27 Jun 2024 22:12:04 +0000 (22:12 +0000)
commit796300926c6d029df09e05e240c2e84043bb82a2
treec59cce77ed0f1140eddad5d8e98cf47de58038d3
parenta4d7767fa4d6a7cb2cd3058108878e745edc4037
Bug 37000: (follow-up) Add foreign key last

Certain configurations of MySQL will not allow a column to be changed
from nullable to non-nullable if the column has a foreign key constraint.
Add the foreign key constraint last to avoid issues from this.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 8e788af50b80283dc381777891f7db0a783b0ea3)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
installer/data/mysql/db_revs/231200044.pl