Sha256: dbc0457b6b630baedc35f0277bc23dcc232f7fa1a0cf693dd56724d77716db73

Contents?: true

Size: 198 Bytes

Versions: 154

Compression:

Stored size: 198 Bytes

Contents

class ExpandHostComment < ActiveRecord::Migration
	
	def self.up
		change_column :hosts, :comments, :text
	end
	
	def self.down
		change_column :hosts, :comments, :string, :limit => 4096
	end
end


Version data entries

154 entries across 154 versions & 1 rubygems

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