cirandas.net

ref: master

db/migrate/20141028160511_remove_nickname_limit.rb


1
2
3
4
5
6
7
8
9
class RemoveNicknameLimit < ActiveRecord::Migration
  def self.up
    change_column :profiles, :nickname, :string, :limit => 255
  end

  def self.down
    change_column :profiles, :nickname, :string, :limit => 16
  end
end