mar my nice migration with a new one.

git-svn-id: file:///home/svn/framework3/trunk@10392 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-09-20 07:43:49 +00:00
parent 0149ec0253
commit 5ae74d8913
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
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