Sha256: bd38bbbc77762a5ac5c5c00cd510dfdd73c9da2eeea4aa74fbad4da5b08ca0fb

Contents?: true

Size: 203 Bytes

Versions: 23

Compression:

Stored size: 203 Bytes

Contents

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


Version data entries

23 entries across 23 versions & 2 rubygems

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