Commit aac9b35
authored
Reduced value of version_column_length to avoid "Specified key was too long" error
When running with `version_column_length` at `1024` I received errors like:
> An exception occurred while executing 'ALTER TABLE migration_versions CHANGE version version VARCHAR(1024) NOT NULL':
> SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes
Changing it to a lower value solved this problem.
Ref: doctrine/migrations#9581 parent 62aae8d commit aac9b35
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments