database.yml to pgsql