Skip to content

Commit 6a9c1f6

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [Messenger] Remove an unneeded tip about Doctrine migrations and schema_filter
2 parents addf4bd + e07e38d commit 6a9c1f6

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

messenger.rst

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,36 +1454,6 @@ DSN by using the ``table_name`` option:
14541454
Or, to create the table yourself, set the ``auto_setup`` option to ``false`` and
14551455
:ref:`generate a migration <doctrine-creating-the-database-tables-schema>`.
14561456

1457-
.. tip::
1458-
1459-
To avoid tools like Doctrine Migrations from trying to remove this table because
1460-
it's not part of your normal schema, you can set the ``schema_filter`` option:
1461-
1462-
.. configuration-block::
1463-
1464-
.. code-block:: yaml
1465-
1466-
# config/packages/doctrine.yaml
1467-
doctrine:
1468-
dbal:
1469-
schema_filter: '~^(?!messenger_messages)~'
1470-
1471-
.. code-block:: xml
1472-
1473-
<!-- config/packages/doctrine.xml -->
1474-
<doctrine:dbal schema-filter="~^(?!messenger_messages)~"/>
1475-
1476-
.. code-block:: php
1477-
1478-
# config/packages/doctrine.php
1479-
$container->loadFromExtension('doctrine', [
1480-
'dbal' => [
1481-
'schema_filter' => '~^(?!messenger_messages)~',
1482-
// ...
1483-
],
1484-
// ...
1485-
]);
1486-
14871457
.. caution::
14881458

14891459
The datetime property of the messages stored in the database uses the

0 commit comments

Comments
 (0)