Disabled constraint checks for mysql databases.

This is a fix for a problem I was facing when I tried to move from sqlite to mysql and that should have been fixed by https://github.com/theforeman/foreman/pull/934. I removed to postgresql stuff, as I'm not able to verify this. In the long term it might be a good thing solve the foreign key issues by migrating them in the correct order.