我正试图在Heroku上安装Sylius。下面是我做的(从https://www.christophh.net/2013/10/19/sylius-on-heroku/拍摄):Heroku上的Sylius,获得“phpcr_workspaces”不存在
- 创建Heroku的应用程序,添加一个Postgres数据库
composer create-project -s dev sylius/sylius-standard myAppName
- 按我的应用程序的Heroku
heroku run php -d memory_limit=-1 app/console sylius:install
在安装过程中我我使用在步骤1中创建的db,所以我回答N
至
It appears that your database already exists. Would you like to reset it?
我的安装与崩溃:
[PHPCR\RepositoryException] Unexpected error talking to the backend: An exception occurred while executing 'SELECT 1 FROM phpcr_workspaces WHERE name = ?' with params ["default"] : SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "phpcr_workspaces" does not exist LINE 1: SELECT 1 FROM phpcr_workspaces WHERE name = $1
似乎某处脚本预计phpcr_workspaces
表存在,却是没有。有人有线索吗?