Class: AddTemplatePrefs
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddTemplatePrefs
- Defined in:
- db/migrate/20100926214000_add_template_prefs.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 10 |
# File 'db/migrate/20100926214000_add_template_prefs.rb', line 7 def self.down remove_column :email_templates, :prefs remove_column :web_templates, :prefs end |
.up ⇒ Object
2 3 4 5 6 |
# File 'db/migrate/20100926214000_add_template_prefs.rb', line 2 def self.up remove_column :email_templates, :generate_exe add_column :email_templates, :prefs, :text add_column :web_templates, :prefs, :text end |