@@ -226,9 +226,8 @@ PdoStore
226
226
.. versionadded :: 4.2
227
227
The PdoStore was introduced Symfony 4.2.
228
228
229
-
230
- The PdoStore saves locks in an SQL database, it requires a `PDO `_,
231
- `Doctrine DBAL Connection `_, or `Data Source Name (DSN) `_. This store does not
229
+ The PdoStore saves locks in an SQL database. It requires a `PDO `_ connection, a
230
+ `Doctrine DBAL Connection `_, or a `Data Source Name (DSN) `_. This store does not
232
231
support blocking, and expects a TTL to avoid stalled locks::
233
232
234
233
use Symfony\Component\Lock\Store\PdoStore;
@@ -252,8 +251,9 @@ to set up this table for you according to the database engine used::
252
251
// the table could not be created for some reason
253
252
}
254
253
255
- A great way to set up the table on production is to call the method on a dev
256
- enviroment, then generate a migration:
254
+ A great way to set up the table in production is to call the ``createTable() ``
255
+ method in your local computer and then generate a
256
+ :ref: `database migration <doctrine-creating-the-database-tables-schema >`:
257
257
258
258
.. code-block :: terminal
259
259
@@ -572,3 +572,4 @@ are still running.
572
572
.. _`locks` : https://en.wikipedia.org/wiki/Lock_(computer_science)
573
573
.. _Packagist : https://packagist.org/packages/symfony/lock
574
574
.. _`PHP semaphore functions` : http://php.net/manual/en/book.sem.php
575
+ .. _`PDO` : https://php.net/pdo
0 commit comments