soniya.rayabagi
Wed Nov 15 2023
How we can change the default Sqlite database to Postgresql database in Ruby on Rails ,
• Make sure homebrew is installed .
• Install Postgresql , brew install postgresql
• Start the postgresql , brew services start postgresql
• Make changes to postgresql database in the database.yml file
• Add rails db:seed
to ensure your data gets reset and is visible on the browser .