Mercurial > hg > soundsoftware-site
comparison db/migrate/.svn/text-base/20100705164950_change_changes_path_length_limit.rb.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | cca12e1c1fd4 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 class ChangeChangesPathLengthLimit < ActiveRecord::Migration | |
2 def self.up | |
3 change_column :changes, :path, :text, :null => false | |
4 change_column :changes, :from_path, :text | |
5 end | |
6 | |
7 def self.down | |
8 change_column :changes, :path, :string, :default => "", :null => false | |
9 change_column :changes, :from_path, :string | |
10 end | |
11 end |