【发布时间】:2011-09-22 15:19:18
【问题描述】:
在我的heroku staging环境中,我跑了
heroku pg:reset
紧随其后
heroku rake db:schema:load
我得到了这个错误
-- create_table("cash_drawer_open", {:force=>true})
rake aborted!
PGError: ERROR: table "cash_drawer_open" does not exist
该表当然不存在!!我正在尝试创建它...我做错了什么?
这一切在我本地的 postgre 开发环境中运行良好。
【问题讨论】:
标签: ruby-on-rails postgresql heroku rake