File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,34 @@ so ``DoctrineTokenProvider`` can store the tokens:
313313 `username` varchar(200) NOT NULL
314314 );
315315
316+ .. note ::
317+
318+ If you use DoctrineMigrationsBundle to manage your DB migrations, you will need to tell Doctrine to ignore this new
319+ `rememberme_token ` table with :
320+
321+ .. configuration-block ::
322+
323+ .. code-block :: yaml
324+
325+ doctrine :
326+ dbal :
327+ schema_filter : ~^(?!rememberme_token)~
328+
329+ .. code-block :: xml
330+
331+ <doctrine : dbal schema-filter =" ~^(?!rememberme_token)~" .../>
332+
333+
334+ .. code-block :: php
335+
336+ $container->loadFromExtension('doctrine', [
337+ 'dbal' => [
338+ 'schema_filter' => '~^(?!rememberme_token)~',
339+ // ...
340+ ],
341+ // ...
342+ ]);
343+
316344 Finally, set the ``token_provider `` option of the ``remember_me `` config to the
317345service you just created:
318346
You can’t perform that action at this time.
0 commit comments