Defect #5846
closed
ChangeChangesPathLengthLimit does not remove default for MySQL
Added by Scott Holden over 14 years ago.
Updated over 14 years ago.
Description
The migration fails for MySQL because default is not allowed on a text column. An explicity change_column_default should correct this.
Files
I can't migrate too.
Migration fails with error about ChangeChangesPathLengthLimit and defaults for columns in MySQL.
versions:
Redmine trunk
Rails 2.3.8
MySQL 5.0.67
The issue was discussed in depth in the forum in this thread: db migration error.
The attached patch fixes it.
- Category set to Database
- Status changed from New to Closed
- Assignee set to Eric Davis
- Target version set to 1.0.1
- % Done changed from 0 to 100
- Affected version (unused) set to 1.0.0-RC
- Resolution set to Fixed
Also available in: Atom
PDF