Sha256: c5cf6f2e2419e4a91a38c9fe8a17cd8ce72bb3b775b75a1ff84dc06d08faea27

Contents?: true

Size: 192 Bytes

Versions: 30

Compression:

Stored size: 192 Bytes

Contents

class EnlargeIpField < ActiveRecord::Migration
  def self.up
    change_column :contents, :ip, :string, :limit => 40
  end

  def self.down
    change_column :contents, :ip, :string
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
typo-5.5 db/migrate/037_enlarge_ip_field.rb
typo-5.4.4 db/migrate/037_enlarge_ip_field.rb
typo-5.4.3 db/migrate/037_enlarge_ip_field.rb
typo-5.4.2 db/migrate/037_enlarge_ip_field.rb
typo-5.4.1 db/migrate/037_enlarge_ip_field.rb
typo-5.4 db/migrate/037_enlarge_ip_field.rb
typo-3.99.0 db/migrate/037_enlarge_ip_field.rb
typo-3.99.1 db/migrate/037_enlarge_ip_field.rb
typo-3.99.2 db/migrate/037_enlarge_ip_field.rb
typo-3.99.3 db/migrate/037_enlarge_ip_field.rb
typo-4.0.1 db/migrate/037_enlarge_ip_field.rb
typo-3.99.4 db/migrate/037_enlarge_ip_field.rb
typo-4.0.0 db/migrate/037_enlarge_ip_field.rb
typo-4.0.2 db/migrate/037_enlarge_ip_field.rb
typo-4.1.1 db/migrate/037_enlarge_ip_field.rb
typo-4.0.3 db/migrate/037_enlarge_ip_field.rb
typo-5.0.1 db/migrate/037_enlarge_ip_field.rb
typo-4.1 db/migrate/037_enlarge_ip_field.rb
typo-5.0.2 db/migrate/037_enlarge_ip_field.rb
typo-5.0.3.98.1 db/migrate/037_enlarge_ip_field.rb