File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -553,12 +553,21 @@ does not support blocking, and expects a TTL to avoid stalled locks::
553
553
554
554
This store does not support TTL lower than 1 second.
555
555
556
- The table where values are stored is created automatically on the first call to
557
- the :method: `Symfony\\ Component\\ Lock\\ Store\\ DoctrineDbalStore::save ` method.
556
+ The table where values are stored will be automatically generated when your run the command :
557
+
558
+ .. code-block :: terminal
559
+
560
+ $ php bin/console make:migration
561
+
562
+ If you prefer to create the table yourself and it has not already been created, you can
563
+ create this table explicitly by calling the
564
+ :method: `Symfony\\ Component\\ Lock\\ Store\\ DoctrineDbalStore::createTable ` method.
558
565
You can also add this table to your schema by calling
559
566
:method: `Symfony\\ Component\\ Lock\\ Store\\ DoctrineDbalStore::configureSchema ` method
560
- in your code or create this table explicitly by calling the
561
- :method: `Symfony\\ Component\\ Lock\\ Store\\ DoctrineDbalStore::createTable ` method.
567
+ in your code
568
+
569
+ If the table has not been created upstream, it will be created automatically on the first call to
570
+ the :method: `Symfony\\ Component\\ Lock\\ Store\\ DoctrineDbalStore::save ` method.
562
571
563
572
.. _lock-store-pgsql :
564
573
You can’t perform that action at this time.
0 commit comments