-
1 votesanswersviews
无法使用节点示例从heroku本地连接到heroku postgres
我按照以下步骤操作:https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction 当我运行heroku本地它无法连接 - 我看到它正在使用process.env.DATABASE_URL并使用以下内容将其输入到我的本地.env文件:https://devcenter.heroku.com/article... -
0 votesanswersviews
无法安装heroku的插件
您好我想将我的Java Web应用程序部署到heroku,但它根本不顺利 . 我需要执行此命令来部署war文件: heroku deploy:war --war build/libs/GradleSample.war --app 但是,当我这样做时,我收到此消息:deploy:war不是heroku命令 . 所以我需要运行这个命令: heroku插件:安装https://github.com/... -
0 votesanswersviews
Sequelize关系错误
我正在写一个快速API,有sequelize和postgresl,postgresl正在Heroku上托管 . 当我尝试在下面的表之间创建关系时,它会给我这个错误 未处理拒绝SequelizeDatabaseError:关系“问题”不存在 这个想法是一个问题有一个id,一个 Headers ,一个分数,有很多答案,一个正确答案 . 问题模型: import { sequelize } from...