Model relationships not updating on heroku(staging)

System Information
  • Strapi Version: 3.6.3
  • Operating System: Mac
  • Database: postgres
  • Node Version: v12.20.0
  • NPM Version: 7.16.0
  • Yarn Version: 1.22.10

Hi guys!

On changing an existing component field on a content type to a relationship(many-to-many) with another content type, it does not update on the CMS running on Heroku but works on local…unless I change the name to say ‘somethingElse’ and push code changes, then it reflects, after which I then make code changes to update the name to use the former name and push to GitHub.

I this an issue or one cant just update a component field to a relationship while retaining the thesame field name?

For example, changing the item field from component to a relationship does not update on our CMS. if field is queried, it returns empty showing it exists but doesnt show on the CMS unless name changes as described above is done.

"item": {
      "type": "component",
      "repeatable": true,
      "component": "global.links"
    }

"item": {
      "collection": "Links"
    }

Note: We have multiple pull requests using same database leveraging heroku review apps

I’m running into the same issue. Hope it gets resolved or someone can find a solution.