File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 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::
553553
554554 This store does not support TTL lower than 1 second.
555555
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.
558565You can also add this table to your schema by calling
559566: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.
562571
563572.. _lock-store-pgsql :
564573
You can’t perform that action at this time.
0 commit comments