For the Heroku Question it’s two fold:
- It’s in prod/staging: Troubleshooting - Strapi Developer Documentation
- The file system is read-only and is wiped when the dyno restarts: Troubleshooting - Strapi Developer Documentation
Not sure what you mean relating to DO and relations?