File tree Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -898,12 +898,30 @@ up manually by calling the ``messenger:setup-transports`` command.
898
898
To avoid tools like Doctrine Migrations from trying to remove this table because
899
899
it's not part of your normal schema, you can set the ``schema_filter `` option:
900
900
901
- .. code-block :: yaml
901
+ .. configuration-block ::
902
+
903
+ .. code-block :: yaml
904
+
905
+ # config/packages/doctrine.yaml
906
+ doctrine :
907
+ dbal :
908
+ schema_filter : ' ~^(?!messenger_messages)~'
909
+
910
+ .. code-block :: xml
902
911
903
- # config/packages/doctrine.yaml
904
- doctrine :
905
- dbal :
906
- schema_filter : ' ~^(?!messenger_messages)~'
912
+ # config/packages/doctrine.xml
913
+ <doctrine : dbal schema-filter =" ~^(?!messenger_messages)~" .../>
914
+
915
+ .. code-block :: php
916
+
917
+ # config/packages/doctrine.php
918
+ $container->loadFromExtension('doctrine', [
919
+ 'dbal' => [
920
+ 'schema_filter' => '~^(?!messenger_messages)~',
921
+ // ...
922
+ ],
923
+ // ...
924
+ ]);
907
925
908
926
The transport has a number of options:
909
927
Original file line number Diff line number Diff line change @@ -256,16 +256,19 @@ so ``DoctrineTokenProvider`` can store the tokens:
256
256
257
257
.. code-block :: yaml
258
258
259
+ # config/packages/doctrine.yaml
259
260
doctrine :
260
261
dbal :
261
262
schema_filter : ~^(?!rememberme_token)~
262
263
263
264
.. code-block :: xml
264
265
266
+ # config/packages/doctrine.xml
265
267
<doctrine : dbal schema-filter =" ~^(?!rememberme_token)~" .../>
266
268
267
269
.. code-block :: php
268
270
271
+ # config/packages/doctrine.php
269
272
$container->loadFromExtension('doctrine', [
270
273
'dbal' => [
271
274
'schema_filter' => '~^(?!rememberme_token)~',
You can’t perform that action at this time.
0 commit comments