Rails 4.0.1 on Heroku, can't create database

后端 未结 5 700
盖世英雄少女心
盖世英雄少女心 2020-12-24 14:40

I can\'t get rake db:migrate to run on my rails 4.0.1 app on Heroku.

I\'m guessing that I don\'t have postgres configured properly... but reading the docs on heroku

5条回答
  •  無奈伤痛
    2020-12-24 15:16

    I would first try

    heroku restart
    
    heroku rake db:migrate
    

    If that doesn't work, then try.

    heroku pg:reset DATABASE_URL   #Literally type in heroku pg:reset DATABASE_URL
    
    heroku rake db:migrate
    

提交回复
热议问题