Updated migration to clear some extra foreign keys