@@ -1,14 +1,14 | |||
|
1 | 1 | class ChangeChangesPathLengthLimit < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 | 3 | # these are two steps to please MySQL 5 on Win32 |
|
4 | 4 | change_column :changes, :path, :text, :default => nil, :null => true |
|
5 | 5 | change_column :changes, :path, :text, :null => false |
|
6 | ||
|
6 | ||
|
7 | 7 | change_column :changes, :from_path, :text |
|
8 | 8 | end |
|
9 | 9 | |
|
10 | 10 | def self.down |
|
11 | 11 | change_column :changes, :path, :string, :default => "", :null => false |
|
12 | 12 | change_column :changes, :from_path, :string |
|
13 | 13 | end |
|
14 | 14 | end |
General Comments 0
You need to be logged in to leave comments.
Login now