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.22.7 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.7-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.6 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.6-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.5 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.5-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.4 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.4-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.3 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.3-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.2 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.2-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.1 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.22.1-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.21.3 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.21.3-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.21.2 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.21.2-java db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.21.1 db/migrate/20101203000001_expand_host_comment.rb
metasploit_data_models-0.21.0 db/migrate/20101203000001_expand_host_comment.rb