configure and create database for  all 3 envs