Heroku Deployment loses data (postgreSQL)

Very interesting. Would i need to do something like this, in order to access the unpublished content?

Or is there a better way to do this?