Refactor.
Ignore only duplicate table errors.
Refactor.