We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ecc7c commit f24201eCopy full SHA for f24201e
messenger.rst
@@ -1445,6 +1445,14 @@ a table named ``messenger_messages``.
1445
The ability to automatically generate a migration for the ``messenger_messages``
1446
table was introduced in Symfony 5.1 and DoctrineBundle 2.1.
1447
1448
+If you would like to change the name of the default table you can pass it in the DSN
1449
+settings by using the ``table_name`` option.
1450
+
1451
+.. code-block:: env
1452
1453
+ # .env
1454
+ MESSENGER_TRANSPORT_DSN=doctrine://default?table_name=your_table_name
1455
1456
Or, to create the table yourself, set the ``auto_setup`` option to ``false`` and
1457
:ref:`generate a migration <doctrine-creating-the-database-tables-schema>`.
1458
0 commit comments