fixed migrations foreign keys and seeders