Sha256: ddc7afb7ac1ac00fea65f3b9a5938467f9881e756da48485927d456a29814458
Contents?: true
Size: 567 Bytes
Versions: 154
Compression:
Stored size: 567 Bytes
Contents
class MoreInetColumns < ActiveRecord::Migration def self.up change_column :wmap_requests, :address, 'INET using address::INET' remove_column :wmap_requests, :address6 change_column :wmap_targets, :address, 'INET using address::INET' remove_column :wmap_targets, :address6 end def self.down change_column :wmap_requests, :address, :string, :limit => 16 add_column :wmap_requests, :address6, :string, :limit => 255 change_column :wmap_targets, :address, :string, :limit => 16 add_column :wmap_targets, :address6, :string, :limit => 255 end end
Version data entries
154 entries across 154 versions & 1 rubygems