@@ -131,28 +131,27 @@ Please note that if you want to use the YAML configuration option, you will need
131
131
132
132
Here are details about what each configuration option does:
133
133
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
+ +----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+
156
155
157
156
158
157
Here the possible options for ``table_storage ``:
@@ -164,7 +163,7 @@ Here the possible options for ``table_storage``:
164
163
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
165
164
| version_column_name | no | version | The name of the column which stores the version name. |
166
165
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
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. |
168
167
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
169
168
| executed_at_column_name | no | executed_at | The name of the column which stores the date that a migration was executed. |
170
169
+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+
@@ -378,3 +377,4 @@ Make sure to create the directory where your ORM entities will be located:
378
377
$ mkdir lib/MyProject/Entities
379
378
380
379
:ref: `Next Chapter: Migration Classes <migration-classes >`
380
+
0 commit comments