Sha256: f8340a123bde067846883afa4a1c8e147976b2d2a8fa86782039978d5cd46126

Contents?: true

Size: 274 Bytes

Versions: 154

Compression:

Stored size: 274 Bytes

Contents

class InetColumns < ActiveRecord::Migration

  def self.up
    change_column :hosts, :address, 'INET using address::INET'
    remove_column :hosts, :address6
  end

  def self.down
    change_column :hosts, :address, :text
    add_column :hosts, :address6, :text
  end

end

Version data entries

154 entries across 154 versions & 1 rubygems

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