Sha256: 90146332ee22c169e44a187698b3bf55dc1f8d9543696febb184aa66e2f7bea5

Contents?: true

Size: 165 Bytes

Versions: 154

Compression:

Stored size: 165 Bytes

Contents

class AddScopeToHosts < ActiveRecord::Migration
  def self.up
    add_column :hosts, :scope, :text
  end

  def self.down
    remove_column :hosts, :scope
  end
end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-2.0.7 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-2.0.6 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-2.0.5 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-2.0.4 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-2.0.1 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-2.0.0 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.3.0 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.11 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.10 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.9 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.8 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.7 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.6 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.5 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.4 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.3 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.2 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-0.24.5 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-0.24.4 db/migrate/20111210000000_add_scope_to_hosts.rb
metasploit_data_models-1.2.1 db/migrate/20111210000000_add_scope_to_hosts.rb