Project

General

Profile

Upgrading to version 1.0.0

Added by Eduardo Mauro over 13 years ago

When upgrading to 1.0.0 I had a problem when migrating the database (MySQL). The last script (20100705164950_change_changes_path_length_limit.rb) failed with the following message:

An error has occurred, all later migrations canceled:

Mysql::Error: BLOB/TEXT column 'path' can't have a default value:
ALTER TABLE `changes` CHANGE `path` `path` text DEFAULT '' NOT NULL

MySQL does not accept the default value. Using MySQL workbench also produces the same error. Removing DEFAULT '' from the command works.


Replies (1)

RE: Upgrading to version 1.0.0 - Added by Felix Schäfer over 13 years ago

Already solved in r3860, that was after 1.0.0 was tagged though.

    (1-1/1)