diff --git a/messenger.rst b/messenger.rst index 7c980bacea1..7190f063c35 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1459,36 +1459,6 @@ DSN by using the ``table_name`` option: Or, to create the table yourself, set the ``auto_setup`` option to ``false`` and :ref:`generate a migration `. -.. tip:: - - To avoid tools like Doctrine Migrations from trying to remove this table because - it's not part of your normal schema, you can set the ``schema_filter`` option: - - .. configuration-block:: - - .. code-block:: yaml - - # config/packages/doctrine.yaml - doctrine: - dbal: - schema_filter: '~^(?!messenger_messages)~' - - .. code-block:: xml - - - - - .. code-block:: php - - # config/packages/doctrine.php - $container->loadFromExtension('doctrine', [ - 'dbal' => [ - 'schema_filter' => '~^(?!messenger_messages)~', - // ... - ], - // ... - ]); - .. caution:: The datetime property of the messages stored in the database uses the