Use Postgresql database and use multiple environments