在我的Heroku测试环境中,我运行了以下命令:
当然表不存在!!我正在尝试创建它...我做错了什么?
这在我的本地PostgreSQL开发环境中完全正常运行。
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
当然表不存在!!我正在尝试创建它...我做错了什么?
这在我的本地PostgreSQL开发环境中完全正常运行。