mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-15 13:38:13 +00:00
Force the default value of path to be set on the Change model class. This is needed because MySQL does not support default values on text columns (Error introduced in r3828, #5771)
This commit is contained in:
parent
f8025eca12
commit
59905a2340
@ -1,9 +1,13 @@
|
||||
class ChangeChangesPathLengthLimit < ActiveRecord::Migration
|
||||
def self.up
|
||||
<<<<<<< HEAD
|
||||
# these are two steps to please MySQL 5 on Win32
|
||||
change_column :changes, :path, :text, :default => nil, :null => true
|
||||
change_column :changes, :path, :text, :null => false
|
||||
|
||||
=======
|
||||
change_column :changes, :path, :text, :null => false
|
||||
>>>>>>> Force the default value of path to be set on the Change model class. This is needed because MySQL does not support default values on text columns (Error introduced in r3828, #5771)
|
||||
change_column :changes, :from_path, :text
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user