Our database.yml contains configuration specific to sqlite3 because rails creates the application with sqlite3 as the default database. Now if we want to change our database from sqlite3 to PostgreSQL or any other database. Then, we have to manually modify our database.yml to add PostgreSQL related configuration. default: &default adapter: postgresql encoding: unicode pool: <%= ENV.fetch("RAILS_MA
![Rails 6 adds rails db:system:change command](https://cdn-ak-scissors.b.st-hatena.com/image/square/472a0eabb107df7b2bd0bd96a90e0f928c65a05d/height=288;version=1;width=512/https%3A%2F%2Fblog.saeloun.com%2Fimages%2Fopengraph%2F14adf3ee8892fd9b3c351e0c637c56b3383917cc.png)