Skip to content

Commit

Permalink
Custom migration templates
Browse files Browse the repository at this point in the history
Port doctrine/DoctrineMigrationsBundle#334 into the migrations repo
  • Loading branch information
goetas committed Jun 21, 2020
1 parent 3eaceca commit 500507c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ return [
'table_storage' => [
'table_name' => 'doctrine_migration_versions',
'version_column_name' => 'version',
'version_column_length' => 1024,
'version_column_length' => 191,
'executed_at_column_name' => 'executed_at',
'execution_time_column_name' => 'execution_time',
],
Expand All @@ -69,6 +69,10 @@ return [

Files in XML, YAML or JSON also changed in a similar way. Please refer to the official documentation for more details.

Note: the option in `table_storage` needs to be updated only if you have changed the metadata table settings
by using v2 options such as `table_name`, `column_name`, `column_length` or `executed_at_column_name`. If you did not change
those settings, it is recommended to not provide the options and let doctrine figure out the best settings.

## Code BC breaks

Most of the code is protected by the `@internal` declaration and in a very rare cases you might have dealt with the
Expand Down

0 comments on commit 500507c

Please sign in to comment.