File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,33 @@ so ``DoctrineTokenProvider`` can store the tokens:
247
247
`username` varchar(200) NOT NULL
248
248
);
249
249
250
+ .. note ::
251
+
252
+ If you use DoctrineMigrationsBundle to manage your database migrations, you
253
+ will need to tell Doctrine to ignore this new ``rememberme_token `` table:
254
+
255
+ .. configuration-block ::
256
+
257
+ .. code-block :: yaml
258
+
259
+ doctrine :
260
+ dbal :
261
+ schema_filter : ~^(?!rememberme_token)~
262
+
263
+ .. code-block :: xml
264
+
265
+ <doctrine : dbal schema-filter =" ~^(?!rememberme_token)~" .../>
266
+
267
+ .. code-block :: php
268
+
269
+ $container->loadFromExtension('doctrine', [
270
+ 'dbal' => [
271
+ 'schema_filter' => '~^(?!rememberme_token)~',
272
+ // ...
273
+ ],
274
+ // ...
275
+ ]);
276
+
250
277
Finally, set the ``token_provider `` option of the ``remember_me `` config to the
251
278
service you just created:
252
279
You can’t perform that action at this time.
0 commit comments