Details
Description
I have problem when do a migration with more than 9 classes. (Version1, Version2, Version3, ..., Version10)
php doctrine-cli.php migrate 10
When migration class lower than 10, migration well done.
The migration always return another class, not Version10.
I have do a simple research, and found the problem is on the sort of the class name.
It use SORT_NUMERIC, and it is not suitable to sort them.
So, I change the sort method to Natural Sort, to fix this issue.
Activity
Dolly Aswin Harahap
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | DC-741.patch [ 10661 ] |
Jonathan H. Wage
made changes -
| Fix Version/s | 1.2.4 [ 10063 ] | |
| Fix Version/s | 1.2.3 [ 10051 ] |