Project

General

Profile

Actions

Defect #5846

closed

ChangeChangesPathLengthLimit does not remove default for MySQL

Defect #5846: ChangeChangesPathLengthLimit does not remove default for MySQL

Added by Scott Holden over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Resolution:
Fixed
Affected version:

Description

The migration fails for MySQL because default is not allowed on a text column. An explicity change_column_default should correct this.


Files

5846_migration_fix.patch (1.09 KB) 5846_migration_fix.patch Holger Just, 2010-07-23 00:24

Related issues 1 (0 open — 1 closed)

Related to Redmine - Defect #5771: Problem when importing git repositoryClosedEric DavisActions

Updated by Vladimir Schetinin over 16 years ago Actions #1

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

Updated by Holger Just over 16 years ago Actions #2

The issue was discussed in depth in the forum in this thread: db migration error.

The attached patch fixes it.

Updated by Eric Davis over 16 years ago Actions #3

  • 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

Updated the migration in r3860 and r3861.

Actions

Also available in: PDF Atom