@@ -226,9 +226,8 @@ PdoStore
226226.. versionadded :: 4.2
227227 The PdoStore was introduced Symfony 4.2.
228228
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
232231support blocking, and expects a TTL to avoid stalled locks::
233232
234233 use Symfony\Component\Lock\Store\PdoStore;
@@ -252,8 +251,9 @@ to set up this table for you according to the database engine used::
252251 // the table could not be created for some reason
253252 }
254253
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 >`:
257257
258258.. code-block :: terminal
259259
@@ -572,3 +572,4 @@ are still running.
572572.. _`locks` : https://en.wikipedia.org/wiki/Lock_(computer_science)
573573.. _Packagist : https://packagist.org/packages/symfony/lock
574574.. _`PHP semaphore functions` : http://php.net/manual/en/book.sem.php
575+ .. _`PDO` : https://php.net/pdo
0 commit comments