Files
metasploit-gs/data/sql/migrate/20100920012100_add_generate_exe_column.rb
T
James Lee 5ae74d8913 mar my nice migration with a new one.
git-svn-id: file:///home/svn/framework3/trunk@10392 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-20 07:43:49 +00:00

9 lines
233 B
Ruby

class AddGenerateExeColumn < ActiveRecord::Migration
def self.up
add_column :email_templates, :generate_exe, :boolean, :null => false, :default => false
end
def self.down
remove_column :email_templates, :generate_exe
end
end