File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1445,13 +1445,13 @@ a table named ``messenger_messages``.
14451445 The ability to automatically generate a migration for the ``messenger_messages ``
14461446 table was introduced in Symfony 5.1 and DoctrineBundle 2.1.
14471447
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.
1448+ If you want to change the default table name, pass a custom table name in the
1449+ DSN by using the ``table_name `` option:
14501450
14511451.. code-block :: env
14521452
14531453 # .env
1454- MESSENGER_TRANSPORT_DSN=doctrine://default?table_name=your_table_name
1454+ MESSENGER_TRANSPORT_DSN=doctrine://default?table_name=your_custom_table_name
14551455
14561456 Or, to create the table yourself, set the ``auto_setup `` option to ``false `` and
14571457:ref: `generate a migration <doctrine-creating-the-database-tables-schema >`.
You can’t perform that action at this time.
0 commit comments