开发者

Migrate returns (in /app)

I've push my app to Heroku however my database(Sqlite3) fails to migrate. I understand that heroku will a开发者_运维知识库utomatically migrate as a PG. [ I don't have PG install].

I figured if something was wrong, I would of received an error prompt.

This is my result:

pc-name$ heroku rake db:migrate --trace
(in /app)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment 
** Execute db:schema:dump

Also when I try to create-

pc-name$ heroku rake db:create --trace
cwogwtvrpc already exists
    (in /app)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create


Try destroying the app and creating it again :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜