Files
metasploit-gs/data/sql/migrate/014_add_loots_fields.rb
T
HD Moore 5e26eb9498 Adds name and info to the loot table:
git-svn-id: file:///home/svn/framework3/trunk@8816 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-14 15:38:52 +00:00

13 lines
219 B
Ruby

class AddLootsFields < ActiveRecord::Migration
def self.up
add_column :loots, :name, :text
add_column :loots, :info, :text
end
def self.down
remove_column :loots, :name
remove_column :loots, :info
end
end