【发布时间】:2020-03-23 07:35:04
【问题描述】:
我在 Heroku 中有数据库 postgresql,我有本地应用程序。我的实体是“产品”。 当我想在 Spring Boot 中打开我的应用程序时,出现错误:关系“产品”不存在。
我不知道如何在 postgresql 中创建新表“产品”。 在mysql中everythink是好的
【问题讨论】:
-
您使用的是 ddl-auto 还是像 liquibase 这样的迁移工具?
标签: java sql spring postgresql heroku