ignore foreign keys on import, errors won't display stack traces
will return an errorcode instead
rework foreign key ignore strategy
don't bother with foreign keys on import.

more hassle than it is worth.