FATAL: role “root” does not exist

前端 未结 3 1864
后悔当初
后悔当初 2021-01-22 07:24

I have started to learn using heroku and i was trying to execute bundle exec rake db:create db:migrate command, i have encountered the following errors,

         


        
3条回答
  •  一个人的身影
    2021-01-22 07:59

    When you add the Heroku Postgres add-on (or simply push a rails app to Heroku, and a dev one is added for you), a database is created for you.

    Do not fun db:create on Heroku Postgres, it's already created. You can skip to db:migrate, et. al

提交回复
热议问题