configuring to use postrgresql for all environments