spring boot heroku database code example Example: spring heroku change environment $ heroku config:set SPRING_PROFILES_ACTIVE=tst