Skip to content

Commit 45f0a60

Browse files
Merge pull request #1459 from Zayon/patch-1
Fix tables rendering in configuration.rst
2 parents 7760fbd + a9ba162 commit 45f0a60

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

docs/en/reference/configuration.rst

+23-23
Original file line numberDiff line numberDiff line change
@@ -131,28 +131,27 @@ Please note that if you want to use the YAML configuration option, you will need
131131
132132
Here are details about what each configuration option does:
133133

134-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
135-
| Name | Required | Default | Description |
136-
+============================+============+==============================+==================================================================================+
137-
| migrations_paths<string, string> | yes | null | The PHP namespace your migration classes are located under and the path to a directory where to look for migration classes. |
138-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
139-
| table_storage | no | | Used by doctrine migrations to track the currently executed migrations |
140-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
141-
| all_or_nothing | no | false | Whether or not to wrap multiple migrations in a single transaction. |
142-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
143-
| transactional | no | true | Whether or not to wrap migrations in a single transaction. |
144-
| | | | |
145-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
146-
| migrations | no | [] | Manually specify the array of migration versions instead of finding migrations. |
147-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
148-
| check_database_platform | no | true | Whether to add a database platform check at the beginning of the generated code. |
149-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
150-
| organize_migrations | no | ``none`` | Whether to organize migration classes under year (``year``) or year and month (``year_and_month``) subdirectories. |
151-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
152-
| connection | no | null | The named connection to use (available only when ConnectionRegistryConnection is used). |
153-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
154-
| em | no | null | The named entity manager to use (available only when ManagerRegistryEntityManager is used). |
155-
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
134+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
135+
| Name | Required | Default | Description |
136+
+==================================+==========+==========+=============================================================================================================================+
137+
| migrations_paths<string, string> | yes | null | The PHP namespace your migration classes are located under and the path to a directory where to look for migration classes. |
138+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
139+
| table_storage | no | | Used by doctrine migrations to track the currently executed migrations |
140+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
141+
| all_or_nothing | no | false | Whether or not to wrap multiple migrations in a single transaction. |
142+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
143+
| transactional | no | true | Whether or not to wrap migrations in a single transaction. |
144+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
145+
| migrations | no | [] | Manually specify the array of migration versions instead of finding migrations. |
146+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
147+
| check_database_platform | no | true | Whether to add a database platform check at the beginning of the generated code. |
148+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
149+
| organize_migrations | no | ``none`` | Whether to organize migration classes under year (``year``) or year and month (``year_and_month``) subdirectories. |
150+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
151+
| connection | no | null | The named connection to use (available only when ConnectionRegistryConnection is used). |
152+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
153+
| em | no | null | The named entity manager to use (available only when ManagerRegistryEntityManager is used). |
154+
+----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
156155

157156

158157
Here the possible options for ``table_storage``:
@@ -164,7 +163,7 @@ Here the possible options for ``table_storage``:
164163
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
165164
| version_column_name | no | version | The name of the column which stores the version name. |
166165
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
167-
| version_column_length | no | 191 | The length of the column which stores the version name. |
166+
| version_column_length | no | 191 | The length of the column which stores the version name. |
168167
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
169168
| executed_at_column_name | no | executed_at | The name of the column which stores the date that a migration was executed. |
170169
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
@@ -378,3 +377,4 @@ Make sure to create the directory where your ORM entities will be located:
378377
$ mkdir lib/MyProject/Entities
379378
380379
:ref:`Next Chapter: Migration Classes <migration-classes>`
380+

0 commit comments

Comments
 (0)