change database.yml for use postgres instead of sqlite3