Its a combined modpack, which does several things to existing tables, including fully deleting then recreating the MinorCivilizations table, and altering Buildings.xml and Units.xml. These changes need to happen before I have reference calls to various values in these tables in other xml/sql files.
I could rightly just combine every sql and xml that affect the files in question, but that would make any future updates to one of the component mods a horrible nightmare.