- Published
- Author
- Soniya Rayabagi
How we can change the default Sqlite database to Postgresql database in Ruby on Rails ,
• Make sure homebrew is installed .
• Install Postgresql ,
• Start the postgresql ,
• Make changes to postgresql database in the database.yml file
• Add
• 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 .