Fixed foreign keys on db migration files