phpsymfonyevent-sourcingprooph

Symfony, proopgh, event soursing Error 42S02. Maybe the event streams table is not setup?


Good day/night,
I'm really new in prooph event sourcing.
Try to understand how it works with symfony.

Take a look on this project.
https://github.com/prooph/proophessor-do-symfony
What should I do with the DB in the beginning ?

I run the command php bin/console event-store:event-stream:create But get the error message :

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

For a moment I have the empty DB after the command

php bin/console doctrine:database:create

How can I setup them ? Is there some symfony command ? Or I need to do it manually ?

Please help me.


Solution

  • Follow installation instructions. I assume you're not using docker? In that case you have to create the basic tables by hand. Please find instructions here