So far, I have the following tables modified:
units_to_groupings_military_permissions
units_custom_battle_permissions
However, the game crashes, implying that this isn't enough to add a unit to a factions rosters (Since several others have told me that the schema for these segments isn't broken,) where are the other tables I might need to modify?