metasploit-framework/data/sql/migrate/20110922000000_expand_notes.rb

10 lines
180 B
Ruby
Executable File

class ExpandNotes < ActiveRecord::Migration
def self.up
change_column :notes, :data, :text
end
def self.down
change_column :notes, :data, :string, :limit => 65536
end
end