Files
metasploit-gs/data/sql/migrate/20101203000001_expand_host_comment.rb
T
HD Moore b6cdf424d3 Expand host comments
git-svn-id: file:///home/svn/framework3/trunk@11221 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-04 03:59:30 +00:00

13 lines
198 B
Ruby

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