Split database configs into their env settings files