Sha256: fb5649c3cf6cb74205e9d7d974ed8d702c93411d409d5cb9e9f88d621b58e59a

Contents?: true

Size: 375 Bytes

Versions: 22

Compression:

Stored size: 375 Bytes

Contents

class StandardizeInfoAndData < ActiveRecord::Migration[4.2]
	def self.up
		# Remove the host requirement.  We'll add the column back in below.
		remove_column :vulns, :data
		change_table :vulns do |t|
			t.string :info, :limit => 65536
		end
	end

	def self.down
		remove_column :vulns, :info
		change_table :notes do |t|
			t.string :data, :limit => 65536

		end
	end
end

Version data entries

22 entries across 22 versions & 2 rubygems

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