Rails 4.0.1 on Heroku, can't create database

后端 未结 5 710
盖世英雄少女心
盖世英雄少女心 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:17

    To drop and recreate database

    1. Login to heroku in terminal
    2. cd into your app
    3. Run

    heroku pg:reset DATABASE

提交回复
热议问题