metasploit-framework/data/sql/migrate/20110606000001_add_macros_t...

17 lines
262 B
Ruby
Executable File

class AddMacrosTable < ActiveRecord::Migration
def self.up
create_table :macros do |t|
t.timestamps
t.text :owner
t.text :name
t.text :description
t.binary :actions
t.binary :prefs
end
end
def self.down
drop_table :macros
end
end