makes db config env based