File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ # Upgrade
2+
3+ ## From 2.x to 3.0.0
4+
5+ - The configuration for the migration namespace and directory changed as follows:
6+
7+ Before
8+
9+ ``` yaml
10+ doctrine_migrations :
11+ dir_name : ' %kernel.project_dir%/src/Migrations'
12+ namespace : DoctrineMigrations
13+ ` ` `
14+
15+ After
16+
17+ ` ` ` yaml
18+ doctrine_migrations :
19+ migrations_paths :
20+ ' DoctrineMigrations ' : ' %kernel.project_dir%/src/Migrations'
21+ ` ` `
22+
23+ - The configuration for the metadata table definition changed as follows:
24+
25+ Before
26+
27+ ` ` ` yaml
28+ doctrine_migrations :
29+ table_name : ' migration_versions'
30+ column_name : ' version'
31+ column_length : 14
32+ executed_at_column_name : ' executed_at'
33+ ` ` `
34+
35+ After
36+
37+ ` ` ` yaml
38+ doctrine_migrations :
39+ storage :
40+ table_storage :
41+ table_name : ' migration_versions'
42+ version_column_name : ' version'
43+ version_column_length : 1024
44+ executed_at_column_name : ' executed_at'
45+ ` ` `
46+ - The migration name has been dropped:
47+
48+ Before
49+
50+ ` ` ` yaml
51+ doctrine_migrations :
52+ name : ' Application Migrations'
53+ ` ` `
54+
55+ After
56+
57+ The parameter ` name` has been dropped.
You can’t perform that action at this time.
0 commit comments