Fix for Safari… though it seems it needs more.
Fixed field types not auto including their files.
Switched from rearranging tables to just turning off foreign key checks before running the queries.