diff --git a/symfony/messenger/6.0/manifest.json b/symfony/messenger/6.0/manifest.json index dc045158..793ce278 100644 --- a/symfony/messenger/6.0/manifest.json +++ b/symfony/messenger/6.0/manifest.json @@ -4,9 +4,9 @@ }, "env": { "#1": "Choose one of the transports below", - "#2": "MESSENGER_TRANSPORT_DSN=doctrine://default", - "#3": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", - "#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages" + "#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages", + "#3": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages", + "MESSENGER_TRANSPORT_DSN": "doctrine://default?auto_setup=0" }, "aliases": ["messenger"], "conflict": { diff --git a/symfony/messenger/6.0/post-install.txt b/symfony/messenger/6.0/post-install.txt index 8844fe7a..186bec8a 100644 --- a/symfony/messenger/6.0/post-install.txt +++ b/symfony/messenger/6.0/post-install.txt @@ -4,8 +4,10 @@ * To send messages to a transport and handle them asynchronously: - 1. Uncomment the MESSENGER_TRANSPORT_DSN env var in .env + 1. Update the MESSENGER_TRANSPORT_DSN env var in .env if needed and framework.messenger.transports.async in config/packages/messenger.yaml; - 2. Route your message classes to the async transport in config/packages/messenger.yaml. + 2. (if using Doctrine) Generate a Doctrine migration bin/console doctrine:migration:diff + and execute it bin/console doctrine:migration:migrate + 3. Route your message classes to the async transport in config/packages/messenger.yaml. * Read the documentation at https://symfony.com/doc/current/messenger.html diff --git a/symfony/webapp-pack/1.0/manifest.json b/symfony/webapp-pack/1.0/manifest.json index e6c0126c..00574434 100644 --- a/symfony/webapp-pack/1.0/manifest.json +++ b/symfony/webapp-pack/1.0/manifest.json @@ -2,8 +2,5 @@ "aliases": ["webapp"], "copy-from-recipe": { "config/": "%CONFIG_DIR%/" - }, - "env": { - "MESSENGER_TRANSPORT_DSN": "doctrine://default?auto_setup=0" } }