Files
metasploit-gs/data/sql/migrate/022_enlarge_event_info.rb
T
Mike Smith 0de01754ff Change event.info db column type from varchar(65535) to text
git-svn-id: file:///home/svn/framework3/trunk@9434 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-05 00:33:31 +00:00

11 lines
188 B
Ruby

class EnlargeEventInfo < ActiveRecord::Migration
def self.up
change_column :events, :info, :text
end
def self.down
change_column :events, :info, :string, :limit => 65535
end
end