Sha256: 001f6dd1e6b25558044ddfc6ae27052ffe2f41d23419306980a88818bce0bea8

Contents?: true

Size: 307 Bytes

Versions: 154

Compression:

Stored size: 307 Bytes

Contents

class AddTemplatePrefs < ActiveRecord::Migration
	def self.up
		remove_column :email_templates, :generate_exe
		add_column :email_templates, :prefs, :text
		add_column :web_templates, :prefs, :text
	end
	def self.down
		remove_column :email_templates, :prefs
		remove_column :web_templates, :prefs
	end
end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-3.0.10 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.9 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.8 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.7 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.6 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.5 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.17 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.4 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.2 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.1 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-3.0.0 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.16 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.15 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.14 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.13 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.12 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.11 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.10 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.9 db/migrate/20100926214000_add_template_prefs.rb
metasploit_data_models-2.0.8 db/migrate/20100926214000_add_template_prefs.rb