Sha256: e54b9eeed332eb2a4a287f358bc9ec70f5aec9bb027290aade28a235d3533e99

Contents?: true

Size: 202 Bytes

Versions: 154

Compression:

Stored size: 202 Bytes

Contents

class ConvertServiceInfoToText < ActiveRecord::Migration

	def self.up
		change_column :services, :info, :text
	end

	def self.down
		change_column :services, :info, :string, :limit => 65536
	end

end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-0.14.2 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.14.1-java db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.14.1 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.12.1-java db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.12.1 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.12.0-java db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.12.0 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.11.2-java db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.11.2 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.7.0 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.7.0-java db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.6.16 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.6.14 db/migrate/024_convert_service_info_to_text.rb
metasploit_data_models-0.6.13 db/migrate/024_convert_service_info_to_text.rb