在我的Heroku分期envinronment,我跑了之后Heroku的耙分贝:模式:负载表不存在
heroku rake db:schema:load
heroku pg:reset
,我得到这个错误
-- create_table("cash_drawer_open", {:force=>true})
rake aborted!
PGError: ERROR: table "cash_drawer_open" does not exist
当然,桌子不存在!我正在尝试创建它......我做错了什么?
这一切在我当地的postgre开发环境中都能正常工作。
运行迁移该命令也推动数据,而不仅仅是架构。 – JanuskaE