Symfony,prooph,event sourcing Error 42S02。也许事件流表没有设置?

问题描述 投票:-1回答:2

美好的一天/晚上, 我是prooph event sourcing的新手。 尝试了解它如何与symfony一起使用。

看看这个项目。 https://github.com/prooph/proophessor-do-symfony 一开始我该怎么办?

我运行命令php bin/console event-store:event-stream:create但收到错误消息:

Error 42S02. Maybe the event streams table is not setup?  
Error-Info: Table 'todo.event_streams' doesn't exist    

有一会儿我在命令后面有空DB

php bin/console doctrine:database:create

我该如何设置它们?有一些symfony命令吗?或者我需要手动完成?

请帮我。

php symfony event-sourcing prooph
2个回答
3
投票

按照安装说明操作我假设你没有使用码头工具?在这种情况下,您必须手动创建基本表。请查找说明here


0
投票

实际上,我没有创建流。刚按照这个文档,现在没关系

https://github.com/prooph/proophessor-do/blob/master/docs/installation/manual.md

© www.soinside.com 2019 - 2024. All rights reserved.