Expand host comments

git-svn-id: file:///home/svn/framework3/trunk@11221 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2010-12-04 03:59:30 +00:00
parent 7765bac17b
commit b6cdf424d3
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
class ExpandHostComment < ActiveRecord::Migration
def self.up
change_column :hosts, :comments, :text
end
def self.down
change_column :hosts, :comments, :string, :limit => 4096
end
end