Project

General

Profile

Actions

Defect #5846

closed

ChangeChangesPathLengthLimit does not remove default for MySQL

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Start date:
2010-07-08
Due date:
% Done:

100%

Estimated time:
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

Related to Redmine - Defect #5771: Problem when importing git repositoryClosedEric Davis2010-06-28

Actions
Actions #1

Updated by Vladimir Schetinin over 14 years ago

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

Actions #2

Updated by Holger Just over 14 years ago

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

The attached patch fixes it.

Actions #3

Updated by Eric Davis over 14 years ago

  • 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: Atom PDF