Sha256: f7d16853488aea433c2ee6e133712cbba2cff3e607a4c7c40cf1ca63f36058ab

Contents?: true

Size: 384 Bytes

Versions: 23

Compression:

Stored size: 384 Bytes

Contents

class AddAlertFields < ActiveRecord::Migration[4.2]
	def self.up
		add_column :notes, :critical, :boolean
		add_column :notes, :seen, :boolean
		add_column :events, :critical, :boolean
		add_column :events, :seen, :boolean
	end

	def self.down
		remove_column :notes, :critical
		remove_column :notes, :seen
		remove_column :events, :critical
		remove_column :events, :seen
	end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
metasploit_data_models-6.0.6 db/migrate/010_add_alert_fields.rb
wg-metasploit_data_models-4.1.4.02 db/migrate/010_add_alert_fields.rb
metasploit_data_models-6.0.5 db/migrate/010_add_alert_fields.rb
metasploit_data_models-6.0.4 db/migrate/010_add_alert_fields.rb
metasploit_data_models-6.0.3 db/migrate/010_add_alert_fields.rb
metasploit_data_models-6.0.2 db/migrate/010_add_alert_fields.rb
metasploit_data_models-6.0.1 db/migrate/010_add_alert_fields.rb
metasploit_data_models-6.0.0 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.6 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.5 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.4 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.3 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.2 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.1 db/migrate/010_add_alert_fields.rb
metasploit_data_models-5.0.0 db/migrate/010_add_alert_fields.rb
metasploit_data_models-4.1.4 db/migrate/010_add_alert_fields.rb
metasploit_data_models-4.1.3 db/migrate/010_add_alert_fields.rb
metasploit_data_models-4.1.2 db/migrate/010_add_alert_fields.rb
metasploit_data_models-4.1.1 db/migrate/010_add_alert_fields.rb
metasploit_data_models-4.1.0 db/migrate/010_add_alert_fields.rb