File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -1454,36 +1454,6 @@ DSN by using the ``table_name`` option:
1454
1454
Or, to create the table yourself, set the ``auto_setup `` option to ``false `` and
1455
1455
:ref: `generate a migration <doctrine-creating-the-database-tables-schema >`.
1456
1456
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
-
1487
1457
.. caution ::
1488
1458
1489
1459
The datetime property of the messages stored in the database uses the
You can’t perform that action at this time.
0 commit comments