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:
313
313
`username` varchar(200) NOT NULL
314
314
);
315
315
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', array(
337
+ 'dbal' => array(
338
+ 'schema_filter' => '~^(?!rememberme_token)~',
339
+ // ...
340
+ ),
341
+ // ...
342
+ ));
343
+
316
344
Finally, set the ``token_provider `` option of the ``remember_me `` config to the
317
345
service you just created:
318
346
You can’t perform that action at this time.
0 commit comments