From a9ba162c94d4263275405729ba0d22230abf4df6 Mon Sep 17 00:00:00 2001 From: Pablo Godinez Date: Tue, 10 Sep 2024 15:22:51 +0000 Subject: [PATCH] Update configuration.rst --- docs/en/reference/configuration.rst | 46 ++++++++++++++--------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/en/reference/configuration.rst b/docs/en/reference/configuration.rst index 71eb4b793..0796affb3 100644 --- a/docs/en/reference/configuration.rst +++ b/docs/en/reference/configuration.rst @@ -131,28 +131,27 @@ Please note that if you want to use the YAML configuration option, you will need Here are details about what each configuration option does: -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| Name | Required | Default | Description | -+============================+============+==============================+==================================================================================+ -| migrations_paths | yes | null | The PHP namespace your migration classes are located under and the path to a directory where to look for migration classes. | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| table_storage | no | | Used by doctrine migrations to track the currently executed migrations | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| all_or_nothing | no | false | Whether or not to wrap multiple migrations in a single transaction. | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| transactional | no | true | Whether or not to wrap migrations in a single transaction. | -| | | | | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| migrations | no | [] | Manually specify the array of migration versions instead of finding migrations. | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| check_database_platform | no | true | Whether to add a database platform check at the beginning of the generated code. | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| organize_migrations | no | ``none`` | Whether to organize migration classes under year (``year``) or year and month (``year_and_month``) subdirectories. | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| connection | no | null | The named connection to use (available only when ConnectionRegistryConnection is used). | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| em | no | null | The named entity manager to use (available only when ManagerRegistryEntityManager is used). | -+----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| Name | Required | Default | Description | ++==================================+==========+==========+=============================================================================================================================+ +| migrations_paths | yes | null | The PHP namespace your migration classes are located under and the path to a directory where to look for migration classes. | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| table_storage | no | | Used by doctrine migrations to track the currently executed migrations | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| all_or_nothing | no | false | Whether or not to wrap multiple migrations in a single transaction. | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| transactional | no | true | Whether or not to wrap migrations in a single transaction. | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| migrations | no | [] | Manually specify the array of migration versions instead of finding migrations. | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| check_database_platform | no | true | Whether to add a database platform check at the beginning of the generated code. | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| organize_migrations | no | ``none`` | Whether to organize migration classes under year (``year``) or year and month (``year_and_month``) subdirectories. | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| connection | no | null | The named connection to use (available only when ConnectionRegistryConnection is used). | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ +| em | no | null | The named entity manager to use (available only when ManagerRegistryEntityManager is used). | ++----------------------------------+----------+----------+-----------------------------------------------------------------------------------------------------------------------------+ Here the possible options for ``table_storage``: @@ -164,7 +163,7 @@ Here the possible options for ``table_storage``: +----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ | version_column_name | no | version | The name of the column which stores the version name. | +----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ -| version_column_length | no | 191 | The length of the column which stores the version name. | +| version_column_length | no | 191 | The length of the column which stores the version name. | +----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ | executed_at_column_name | no | executed_at | The name of the column which stores the date that a migration was executed. | +----------------------------+------------+------------------------------+----------------------------------------------------------------------------------+ @@ -378,3 +377,4 @@ Make sure to create the directory where your ORM entities will be located: $ mkdir lib/MyProject/Entities :ref:`Next Chapter: Migration Classes ` +