Skip to content

Commit 23e5d3e

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: Update messenger.rst
2 parents 4e52243 + e690f91 commit 23e5d3e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

messenger.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,14 @@ The format is ``doctrine://<connection_name>``, in case you have multiple connec
14321432
and want to use one other than the "default". The transport will automatically create
14331433
a table named ``messenger_messages``.
14341434

1435+
If you want to change the default table name, pass a custom table name in the
1436+
DSN by using the ``table_name`` option:
1437+
1438+
.. code-block:: env
1439+
1440+
# .env
1441+
MESSENGER_TRANSPORT_DSN=doctrine://default?table_name=your_custom_table_name
1442+
14351443
Or, to create the table yourself, set the ``auto_setup`` option to ``false`` and
14361444
:ref:`generate a migration <doctrine-creating-the-database-tables-schema>`.
14371445

0 commit comments

Comments
 (0)