File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -883,10 +883,11 @@ Before storing sessions in the database, you must create the table that stores
883
883
the information.
884
884
885
885
With Doctrine installed, the session table will be automatically generated when
886
- you run the make:migration command if the database targeted by doctrine is identical to
887
- the one used by this component.
886
+ you run the `` make:migration `` command if the database targeted by doctrine is
887
+ identical to the one used by this component.
888
888
889
- Or if you prefer to create the table yourself and the table has not already been created, the session handler provides a method called
889
+ Or if you prefer to create the table yourself and the table has not already been
890
+ created, the session handler provides a method called
890
891
:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ Handler\\ PdoSessionHandler::createTable `
891
892
to set up this table for you according to the database engine used::
892
893
@@ -913,8 +914,8 @@ file and run the migration with the following command:
913
914
$ php bin/console doctrine:migrations:migrate
914
915
915
916
If needed, you can also add this table to your schema by calling
916
- :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ Handler\\ PdoSessionHandler::configureSchema ` method
917
- in your code.
917
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ Handler\\ PdoSessionHandler::configureSchema `
918
+ method in your code.
918
919
919
920
.. _mysql :
920
921
You can’t perform that action at this time.
0 commit comments