Ruby on Rails: How can i edit database.yml for postgresql?

前端 未结 7 1212
我寻月下人不归
我寻月下人不归 2020-12-08 06:26

rails new app=>

The current database.yml is like that=>

# SQLite version 3.x
#   gem install sqlite3
#
#   Ensure the SQLite 3 gem is defined in your         


        
相关标签:
7条回答
  • 2020-12-08 07:12

    You might be interested in generating new app with postgres default:

    rails new myapp --database=postgresql
    

    as mentioned here: https://devcenter.heroku.com/articles/getting-started-with-rails4

    0 讨论(0)
提交回复
热议问题