From 5ae74d891388ef38e60634563e6b6be9e54a6734 Mon Sep 17 00:00:00 2001 From: James Lee Date: Mon, 20 Sep 2010 07:43:49 +0000 Subject: [PATCH] mar my nice migration with a new one. git-svn-id: file:///home/svn/framework3/trunk@10392 4d416f70-5f16-0410-b530-b9f4589650da --- .../sql/migrate/20100920012100_add_generate_exe_column.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/sql/migrate/20100920012100_add_generate_exe_column.rb diff --git a/data/sql/migrate/20100920012100_add_generate_exe_column.rb b/data/sql/migrate/20100920012100_add_generate_exe_column.rb new file mode 100644 index 0000000000..7b055b268f --- /dev/null +++ b/data/sql/migrate/20100920012100_add_generate_exe_column.rb @@ -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